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.
 
 

21 lines
296 B

FROM node:14.20.1-alpine3.15
WORKDIR /app
COPY package*.json ./
RUN apk add --no-cache git make python2 python3 py3-pip g++
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