mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix: docker: alpine
This commit is contained in:
parent
b2478a8145
commit
857c97006d
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue