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.

22 lines
306 B

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