fix: switch Dockerfile base image to alpine and install dependencies using apk
This commit is contained in:
+5
-5
@@ -1,9 +1,9 @@
|
|||||||
FROM node:20-slim
|
FROM alpine
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apk add --no-cache nodejs npm git \
|
||||||
apt-get install -y --no-install-recommends git && \
|
&& node --version \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
&& npm --version \
|
||||||
git --version
|
&& git --version
|
||||||
|
|
||||||
WORKDIR /action
|
WORKDIR /action
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user