We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e281374 commit 427cf5bCopy full SHA for 427cf5b
Dockerfile
@@ -50,7 +50,7 @@ WORKDIR /app
50
# Don't run production as root
51
RUN addgroup --system --gid 1001 nodejs
52
RUN adduser --system --uid 1001 nextjs
53
-USER nextjs
+# USER nextjs
54
55
COPY --from=builder /app/public ./public
56
docker-compose.yml
@@ -7,11 +7,6 @@ services:
7
args:
8
ENV_VARIABLE: ${ENV_VARIABLE}
9
NEXT_PUBLIC_ENV_VARIABLE: ${NEXT_PUBLIC_ENV_VARIABLE}
10
- volumes:
11
- - .:/app
12
- - ./public:/app/public
13
- # - /app/node_modules
14
- # - /app/.next
15
command: npm run launch
16
restart: always
17
ports:
0 commit comments