reduce size of docker image
This commit is contained in:
parent
4f6280d6b8
commit
65b81e1c44
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:18-buster
|
||||
FROM node:18-slim
|
||||
WORKDIR /grid
|
||||
COPY package.json /grid
|
||||
COPY app.js /grid
|
||||
|
|
@ -6,6 +6,7 @@ COPY apps /grid/apps
|
|||
COPY src /grid/src
|
||||
COPY web /grid/web
|
||||
COPY bin /grid/bin
|
||||
RUN apt-get -y update; apt-get -y install curl
|
||||
EXPOSE 8080
|
||||
RUN npm i
|
||||
RUN npm install -g @gridspace/app-server
|
||||
|
|
|
|||
Loading…
Reference in a new issue