Update base docker image and dependencies (#373)

This commit is contained in:
Luke Vella 2022-12-13 10:55:05 +00:00 committed by GitHub
parent 5da0f1760d
commit e4482a1edb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM node:alpine as build FROM node:lts as build
WORKDIR /app WORKDIR /app
@ -6,13 +6,13 @@ COPY package.json .
COPY yarn.lock . COPY yarn.lock .
COPY prisma/schema.prisma . COPY prisma/schema.prisma .
RUN yarn --frozen-lockfile RUN yarn --frozen-lockfile --no-cache --production
COPY . . COPY . .
RUN yarn build RUN yarn build
FROM node:alpine FROM node:lts
ENV PORT 3000 ENV PORT 3000
EXPOSE 3000 EXPOSE 3000