dockerfile getting better

This commit is contained in:
spaghet committed 2025-11-17 01:39:06 -05:00
1 parent 186fa89f60
commit f1c75197c5
2 files changed
+7 -2

No files matched your search

+2 -1
View File
@@ -22,4 +22,5 @@ settings.json
.env.production
# macOS-specific files
.DS_Store
.DS_Store
+5 -1
View File
@@ -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 <your-username> and <your-repository> with your actual GitHub details
RUN git clone -b manual https://github.com/SpaghetGaming/Spaghet.io.git .
COPY package*.json ./
RUN npm ci