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
231 B

FROM node:14.20.1-alpine
WORKDIR /app
COPY package*.json ./
RUN npm i -g npm@9.1.1
RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build --production
RUN npm install -g serve
EXPOSE 8445
CMD serve -p 8455 -s build