mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix: cloudcmd: ocker: revert alpine (#406)
This reverts commit 33201dade2.
This commit is contained in:
parent
1d3567f3a3
commit
d928c0b83d
1 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:alpine
|
||||
FROM node:lts-buster-slim
|
||||
LABEL maintainer="Coderaiser"
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
|
|
@ -8,12 +8,12 @@ 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 && \
|
||||
apt update && \
|
||||
apt install -y make g++ python3 && \
|
||||
npm i gritty && \
|
||||
npm cache clean --force && \
|
||||
apk del make g++ python3 && \
|
||||
rm -rf /usr/include /tmp/* /var/cache/apk/*
|
||||
apt remove -y make g++ python3 && \
|
||||
rm -rf /usr/include /tmp/* /var/cache/apt/*
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue