File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# Node
99# ============================================================================
1010
11- FROM node:20.14-alpine as node
11+ FROM node:20.14-alpine AS node
1212
1313# Always install security updated e.g. https://pythonspeed.com/articles/security-updates-in-docker/
1414# Update local cache so that other stages don't need to update cache
@@ -19,7 +19,7 @@ RUN apk update \
1919# Node
2020# ============================================================================
2121#
22- FROM node as deps
22+ FROM node AS deps
2323# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
2424RUN apk add --no-cache libc6-compat
2525WORKDIR /app
@@ -80,4 +80,4 @@ ENV PORT=3000
8080
8181# server.js is created by next build from the standalone output
8282# https://nextjs.org/docs/pages/api-reference/next-config-js/output
83- CMD HOSTNAME=" 0.0.0.0" node server.js
83+ CMD [ " HOSTNAME=' 0.0.0.0'" , " node" , " server.js" ]
You can’t perform that action at this time.
0 commit comments