Complete residential site build with Docker Compose & Gitea Actions deployment

This commit is contained in:
CalebLewallen
2026-05-13 17:31:20 -04:00
parent f9c4e13a50
commit 3c22823f72
19354 changed files with 2097331 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# Stage 1: Build
FROM node:22-alpine AS build
WORKDIR /app
# Note: Context will be the project root, so paths are relative to root
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Stage 2: Serve
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
+10
View File
@@ -0,0 +1,10 @@
version: '3.8'
services:
chesco-site:
image: chesco-site:latest
container_name: chesco-site
restart: always
ports:
- "8081:80"
# If you ever want to see logs or add custom configs,
# they will be managed here.