Skip to content

Commit 92b60f2

Browse files
committed
Move from apt-get to apk for alpine
1 parent f101434 commit 92b60f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#syntax=docker/dockerfile:1
22

33
FROM node:20-alpine AS base
4-
RUN apt-get update -y && apt-get install -y ca-certificates git openssl
4+
RUN apk update && apk add ca-certificates git openssl
55

66
FROM base AS build
7-
RUN apt-get update -y && apt-get install -y build-essential python3
7+
RUN apk update && apk add alpine-sdk python3
88
WORKDIR /app
99
COPY package.json yarn.lock .yarnrc.yml ./
1010
COPY ./.yarn/ .yarn/

0 commit comments

Comments
 (0)