Backend for Custom Frontend OSPRO Surveyor Indonesia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
245 B

2 years ago
FROM node:12
WORKDIR /react-docker
COPY ./package*.json ./
ENV PATH /app/node_modules/.bin:$PATH
RUN npm install
2 years ago
RUN npm i react@16.14.0
RUN npm i react-scripts
2 years ago
RUN npm audit fix
CMD npm start --host 0.0.0.0 --port 3000 --disableHostCheck true