This commit is contained in:
prosety
2022-11-17 10:20:05 +01:00
parent c335ac561d
commit 6936090d42
3 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
FROM node:18-alpine
EXPOSE $PORT_EXPOSED
WORKDIR /app
COPY package.json package-lock.json /app/
@@ -9,4 +9,5 @@ RUN npm install
COPY . .
RUN npm run build
CMD node dist/server/entry.mjs
EXPOSE ${PORT_EXPOSED}
CMD ["node", "dist/server/entry.mjs"]