Skip to content

Commit f0eb43a

Browse files
committed
docker fix2
1 parent 427cf5b commit f0eb43a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ services:
33
web:
44
build:
55
context: .
6-
dockerfile: Dockerfile
6+
dockerfile: develop.Dockerfile
77
args:
88
ENV_VARIABLE: ${ENV_VARIABLE}
99
NEXT_PUBLIC_ENV_VARIABLE: ${NEXT_PUBLIC_ENV_VARIABLE}
10-
command: npm run launch
1110
restart: always
1211
ports:
1312
- "${PORT}:${PORT}"

Dockerfile renamed to prod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ ENV NEXT_PUBLIC_ENV_VARIABLE=${NEXT_PUBLIC_ENV_VARIABLE}
7070

7171
# Note: Don't expose ports here, Compose will handle that for us
7272

73-
CMD npm run launch
73+
CMD npm run start

0 commit comments

Comments
 (0)