Skip to content

Commit 427cf5b

Browse files
committed
docker fix
1 parent e281374 commit 427cf5b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ WORKDIR /app
5050
# Don't run production as root
5151
RUN addgroup --system --gid 1001 nodejs
5252
RUN adduser --system --uid 1001 nextjs
53-
USER nextjs
53+
# USER nextjs
5454

5555
COPY --from=builder /app/public ./public
5656

docker-compose.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ services:
77
args:
88
ENV_VARIABLE: ${ENV_VARIABLE}
99
NEXT_PUBLIC_ENV_VARIABLE: ${NEXT_PUBLIC_ENV_VARIABLE}
10-
volumes:
11-
- .:/app
12-
- ./public:/app/public
13-
# - /app/node_modules
14-
# - /app/.next
1510
command: npm run launch
1611
restart: always
1712
ports:

0 commit comments

Comments
 (0)