Skip to content

Commit

Permalink
fix: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Sep 4, 2023
1 parent 8ab7e46 commit 621f52d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-buster-slim
FROM node:lts-buster
LABEL maintainer="Coderaiser"

RUN mkdir -p /usr/src/app
Expand All @@ -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

Expand All @@ -22,4 +22,3 @@ ENV cloudcmd_open false
EXPOSE 8000

ENTRYPOINT ["/usr/src/app/bin/cloudcmd.mjs"]

0 comments on commit 621f52d

Please sign in to comment.