new base (again)
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Waiting to run
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Waiting to run
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
# 1. Install dependencies and build the project
|
||||
FROM ubuntu:latest AS builder
|
||||
FROM alpine:latest AS builder
|
||||
|
||||
# Enable Corepack
|
||||
RUN corepack enable
|
||||
|
||||
# Set Yarn to the latest stable version
|
||||
RUN apt-get update && apt-get install -y nodejs yarn
|
||||
RUN apk add --no-cache nodejs yarn
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn
|
||||
RUN yarn install --immutable
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user