Skip to content

Commit

Permalink
get env file into frontend for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayen Ashar authored and willemarcel committed May 11, 2021
1 parent 18a9ccb commit 0084afa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 0 additions & 4 deletions docker-compose.override.yml
Expand Up @@ -23,10 +23,6 @@ services:
build:
context: "."
dockerfile: "./scripts/docker/Dockerfile.frontend"
args:
- TM_APP_API_URL=http://localhost/api
- TM_IMPORT_MAX_FILESIZE=1000000
- TM_MAX_AOI_AREA=5000
volumes:
- ".:/usr/src/app"
labels:
Expand Down
5 changes: 1 addition & 4 deletions scripts/docker/Dockerfile.frontend
Expand Up @@ -6,11 +6,8 @@ COPY frontend .
## SETUP
RUN npm install

ARG TM_APP_API_URL=http://localhost/api
ARG TM_IMPORT_MAX_FILESIZE=1000000
ARG TM_MAX_AOI_AREA=5000

# SERVE
COPY tasking-manager.env ..
RUN npm run build

FROM nginx:stable-alpine
Expand Down

0 comments on commit 0084afa

Please sign in to comment.