adds dockerfile
This commit is contained in:
parent
12e8875fa9
commit
43c4cea6c3
1 changed files with 16 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
||||||
Loading…
Reference in a new issue