portfolio/Dockerfile
2023-01-28 16:16:38 +01:00

13 lines
138 B
Docker

FROM node:18
WORKDIR /usr/src/app
COPY . .
RUN npm install
RUN npm run build
EXPOSE 3000
CMD [ "node", ".output/server/index.mjs" ]