ifms-pti/server/Dockerfile
Douglas Barone d2e708c7f3 Update node
2022-04-27 13:04:07 -04:00

21 lines
267 B
Docker

FROM ubuntu:22.04
WORKDIR /app
RUN apt-get update
RUN apt-get install nodejs npm curl -y
RUN npm install n -g
RUN n install 18
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run prisma:generate
RUN npm run build
CMD npm run prisma:deploy && npm start