mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-30 02:36:30 +02:00
📌 Pin base image version for Dockerfile
This commit is contained in:
parent
86eaf5df10
commit
213badde9b
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue