mirror of
https://gitlab.edgegamers.io/discord/ds-bot.git
synced 2025-12-05 23:10:25 -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
|
WORKDIR /ds-bot
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
COPY configs ./configs
|
|
||||||
COPY dist/ ./
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user