mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix: docker
This commit is contained in:
parent
8ab7e468a8
commit
621f52da2f
1 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:lts-buster-slim
|
||||
FROM node:lts-buster
|
||||
LABEL maintainer="Coderaiser"
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
|
|
@ -9,7 +9,7 @@ COPY package.json /usr/src/app/
|
|||
RUN npm config set package-lock false && \
|
||||
npm install --production && \
|
||||
npm i gritty && \
|
||||
npm cache clean --force && \
|
||||
npm cache clean --force
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
|
|
@ -22,4 +22,3 @@ ENV cloudcmd_open false
|
|||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["/usr/src/app/bin/cloudcmd.mjs"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue