This commit is contained in:
prosety
2022-11-17 00:40:31 +01:00
parent ac1c0feddb
commit c335ac561d
3 changed files with 10 additions and 7 deletions

View File

@@ -1,10 +1,12 @@
FROM node:18-alpine3.15
USER root
FROM node:18-alpine
EXPOSE $PORT_EXPOSED
WORKDIR /app
COPY . .
COPY package.json package-lock.json /app/
RUN ls
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD node dist/server/entry.mjs