docker: add initial Dockerfile
This commit is contained in:
parent
8e626448a2
commit
ceeb1f552b
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
FROM node:14-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
EXPOSE 3466
|
||||||
|
|
||||||
|
CMD ["npm", "start"]
|
Loading…
Reference in New Issue
Block a user