reduce size of docker image

This commit is contained in:
Stewart Allen 2023-11-01 22:30:47 -04:00
commit 65b81e1c44

View file

@ -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