This commit is contained in:
parent
9b00515b0e
commit
be48543dd3
@ -13,7 +13,7 @@ WORKDIR /app
|
|||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
RUN npm build
|
RUN npm run build
|
||||||
|
|
||||||
# Run the app
|
# Run the app
|
||||||
FROM base AS runner
|
FROM base AS runner
|
||||||
@ -37,4 +37,4 @@ USER nextjs
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENV HOSTNAME "0.0.0.0"
|
ENV HOSTNAME "0.0.0.0"
|
||||||
ENV PORT 80
|
ENV PORT 80
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "run", "start"]
|
Loading…
Reference in New Issue
Block a user