Skip to content

Commit

Permalink
add args
Browse files Browse the repository at this point in the history
  • Loading branch information
robswc committed Mar 18, 2023
1 parent 4e8b7fa commit 1efb24b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@ services:
args:
- NEXT_PUBLIC_BACKEND_URL=http://app
- NEXT_PUBLIC_BACKEND_PORT=8000
environment:
- NEXT_PUBLIC_BACKEND_URL=http://app
- NEXT_PUBLIC_BACKEND_PORT=8000
ports:
- "3000:3000"
3 changes: 0 additions & 3 deletions ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ EXPOSE 3000

ARG NEXT_PUBLIC_BACKEND_URL
ARG NEXT_PUBLIC_BACKEND_PORT
ENV NEXT_PUBLIC_BACKEND_URL=$NEXT_PUBLIC_BACKEND_URL
ENV NEXT_PUBLIC_BACKEND_PORT=8000
ENV NEXT_PUBLIC_HOST="$NEXT_PUBLIC_BACKEND_URL:$NEXT_PUBLIC_BACKEND_PORT"

# Run NextJS app
CMD ["npm", "run", "start"]
Expand Down

0 comments on commit 1efb24b

Please sign in to comment.