portfolio/Dockerfile

13 lines
138 B
Docker
Raw Normal View History

2023-01-28 16:16:38 +01:00
FROM node:18
WORKDIR /usr/src/app
COPY . .
RUN npm install
RUN npm run build
EXPOSE 3000
CMD [ "node", ".output/server/index.mjs" ]