Skip to content

Commit 1d6145c

Browse files
chore: move container port
1 parent 31eb6ae commit 1d6145c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile.web

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ WORKDIR /app
8989
COPY --chown=${USER_NAME} ./app .
9090
COPY --from=builder --chown=${USER_NAME} "$VENV" "$VENV"
9191

92-
# expose port
93-
EXPOSE 3000
92+
ARG PORT=${PORT:-3100}
93+
EXPOSE $PORT
9494

9595
CMD ["/bin/sh", "startup.sh"]
9696

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
volumes:
1414
- ./app:/app
1515
ports:
16-
- ${PORT:-3000}:3000
16+
- ${PORT:-3100}:3100
1717
networks:
1818
- default
1919

0 commit comments

Comments
 (0)