fix: Remove git from Dockerfile

This commit is contained in:
Marius Begby committed 2023-08-20 19:21:26 +02:00
1 parent 6837ec6cc8
commit 1bfa8ede5a
1 file changed
+2 -2
+2 -2
View File
@@ -5,7 +5,7 @@ ARG NODE_VERSION=18.16
FROM node:${NODE_VERSION}-alpine
# 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
WORKDIR /cadence-discord-bot
@@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/root/.npm \
npm ci --omit=dev
# 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/*
# Startup command to run the bot after deploying slash commands