Browse Source

add Dockerfile

pull/2/head
archaict 2 years ago
parent
commit
a71cd1647e
  1. 10
      Dockerfile

10
Dockerfile

@ -0,0 +1,10 @@
# FROM node:8.10-alpine
FROM node:12
WORKDIR /usr/src/app
COPY package.json ./
# RUN apt install git python3
RUN npm install --only=production
RUN npm i react@16.14.0
RUN npm audit fix
COPY . .
CMD [ "npm", "start" ]
Loading…
Cancel
Save