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