Optimize dockerfile, add dockerignore

This commit is contained in:
MSWS
2023-08-27 01:50:40 -07:00
parent 181514dff1
commit 2e3c15ba33
2 changed files with 1 additions and 3 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
node_modules/**

View File

@@ -3,9 +3,6 @@ FROM node:latest
WORKDIR /ds-bot
COPY package*.json ./
COPY configs ./configs
COPY dist/ ./
RUN npm install
COPY . .