Skip to content

Commit 6bdfcf0

Browse files
committed
fix: updates dockerfile production
1 parent 6343e2c commit 6bdfcf0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ EXPOSE 3000
8383

8484
ENV PORT 3000
8585
# set hostname to localhost
86-
ENV HOSTNAME "0.0.0.0"
86+
# ENV HOSTNAME "0.0.0.0"
8787

8888
# server.js is created by next build from the standalone output
8989
# https://nextjs.org/docs/pages/api-reference/next-config-js/output

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
up:
2+
docker-compose up --build --force-recreate
3+
up-prod:
4+
docker-compose -f docker-compose.production.yml up --build --force-recreate

0 commit comments

Comments
 (0)