mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +00:00
fix: Remove git from Dockerfile
This commit is contained in:
1 parent
6837ec6cc8
commit
1bfa8ede5a
1 file changed
+2
-2
+2
-2
@@ -5,7 +5,7 @@ ARG NODE_VERSION=18.16
|
|||||||
FROM node:${NODE_VERSION}-alpine
|
FROM node:${NODE_VERSION}-alpine
|
||||||
|
|
||||||
# Install npm build dependencies and ffmpeg
|
# Install npm build dependencies and ffmpeg
|
||||||
RUN apk add --no-cache python3 make build-base ffmpeg git
|
RUN apk add --no-cache python3 make build-base ffmpeg
|
||||||
|
|
||||||
# Set work directory for subsequent commands
|
# Set work directory for subsequent commands
|
||||||
WORKDIR /cadence-discord-bot
|
WORKDIR /cadence-discord-bot
|
||||||
@@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/root/.npm \
|
|||||||
npm ci --omit=dev
|
npm ci --omit=dev
|
||||||
|
|
||||||
# Cleanup of unneeded packages and apk cache
|
# Cleanup of unneeded packages and apk cache
|
||||||
RUN apk del python3 make build-base git && \
|
RUN apk del python3 make build-base && \
|
||||||
rm -rf /var/cache/apk/* /tmp/*
|
rm -rf /var/cache/apk/* /tmp/*
|
||||||
|
|
||||||
# Startup command to run the bot after deploying slash commands
|
# Startup command to run the bot after deploying slash commands
|
||||||
|
|||||||
Reference in new issue
Block a user