fix: docker: alpine

This commit is contained in:
coderaiser 2024-03-18 11:44:33 +02:00
parent b2478a8145
commit 857c97006d

View file

@ -8,8 +8,11 @@ COPY package.json /usr/src/app/
RUN npm config set package-lock false && \
npm install --production && \
apk update && \
apk add --no-cache bash make g++ python3 && \
npm i gritty && \
npm cache clean --force && \
apk del make g++ python3 && \
rm -rf /usr/include /tmp/* /var/cache/apk/*
COPY . /usr/src/app