From f1c75197c5080814e3608aab778be25917636ecf Mon Sep 17 00:00:00 2001 From: Spaghet Date: Mon, 17 Nov 2025 01:39:06 -0500 Subject: [PATCH] dockerfile getting better --- .gitignore | 3 ++- Dockerfile | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9e6c2cc..122233f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,5 @@ settings.json .env.production # macOS-specific files -.DS_Store \ No newline at end of file +.DS_Store + diff --git a/Dockerfile b/Dockerfile index 47748a4..aebd1a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM node:lts-alpine AS builder - +# Install git if it's not already present in the base image +RUN apk add --no-cache git WORKDIR /app +# Clone the GitHub repository +# Replace and with your actual GitHub details +RUN git clone -b manual https://github.com/SpaghetGaming/Spaghet.io.git . COPY package*.json ./ RUN npm ci