📌 Pin base image version for Dockerfile

This commit is contained in:
Luke Vella 2023-03-16 11:08:51 +00:00
parent 86eaf5df10
commit 213badde9b

View file

@ -1,11 +1,11 @@
FROM node:lts AS builder FROM node:16 AS builder
WORKDIR /app WORKDIR /app
RUN yarn global add turbo RUN yarn global add turbo
COPY . . COPY . .
RUN turbo prune --scope=@rallly/web --docker RUN turbo prune --scope=@rallly/web --docker
FROM node:lts AS installer FROM node:16 AS installer
WORKDIR /app WORKDIR /app
COPY .gitignore .gitignore COPY .gitignore .gitignore
@ -19,7 +19,7 @@ COPY turbo.json turbo.json
RUN yarn db:generate RUN yarn db:generate
RUN yarn build RUN yarn build
FROM node:lts AS runner FROM node:16 AS runner
WORKDIR /app WORKDIR /app