mirror of
https://gitlab.edgegamers.io/discord/ds-bot.git
synced 2025-12-05 22:00:26 -08:00
Optimize dockerfile, add dockerignore
This commit is contained in:
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@@ -0,0 +1 @@
|
||||
node_modules/**
|
||||
@@ -3,9 +3,6 @@ FROM node:latest
|
||||
WORKDIR /ds-bot
|
||||
|
||||
COPY package*.json ./
|
||||
COPY configs ./configs
|
||||
COPY dist/ ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user