From 1bfa8ede5af29b1a179f4c11fb2c9ebbe782b540 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Sun, 20 Aug 2023 19:21:26 +0200 Subject: [PATCH] fix: Remove git from Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24033ff..697053a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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