adds dockerfile

This commit is contained in:
pb-coding 2023-09-23 15:06:42 +02:00
parent 12e8875fa9
commit 43c4cea6c3

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM node:18
LABEL org.opencontainers.image.source https://github.com/pb-coding/skyjo-fe
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "preview"]