Skip to content

Commit

Permalink
add Dockerfile with BASE_URL env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Woozl committed Jun 21, 2023
1 parent 788176e commit 0d4c72c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ USER nru
# Copy the code into the container
COPY . .

ENV BASE_URL /question-builder/

# Build the code and save a production ready copy
CMD npm run prod

0 comments on commit 0d4c72c

Please sign in to comment.