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.
 
 

19 lines
267 B

CMD PORT=8445 npm start #--host 0.0.0.0 --port 3000 --disableHostCheck true
FROM node:14.20-alpine3.15
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build --production
RUN npm install -g serve
EXPOSE 8445
CMD serve -p 8455 -s build