Skip to content

Commit 3aa4bcf

Browse files
Fixes error in copy command and adds default hostname as env var (#24)
1 parent e30cb32 commit 3aa4bcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ RUN npm run build
1313
FROM node:18-alpine AS runner
1414

1515
# ENV NODE_ENV=production
16+
ENV HOSTNAME=0.0.0.0
1617
ENV NEXT_TELEMETRY_DISABLED 1
1718

1819
COPY --from=builder /app/.next/standalone /app
1920
COPY --from=builder /app/.next/static /app/.next/static
20-
COPY --from=prod-builder /app/public /app/public
21+
COPY --from=builder /app/public /app/public
2122

2223
WORKDIR /app
2324
USER node

0 commit comments

Comments
 (0)