Importing chill-site repo here #10

Merged
damercier merged 77 commits from chill-site-repo into main 2026-04-14 19:42:03 +00:00
2 changed files with 33 additions and 0 deletions
Showing only changes of commit c0d4ab041e - Show all commits
+22
View File
@@ -0,0 +1,22 @@
FROM node:20-alpine AS build
# Dépendances système utiles (optionnel)
RUN apk add --no-cache git
WORKDIR /app
# Copie package.json et package-lock.json si présent
COPY package.json ./
COPY package-lock.json ./
# Installation des dépendances
RUN npm install
# Copie du reste du code
COPY . .
# Expose le port utilisé par hugo server
EXPOSE 1313
# Commande de démarrage
CMD ["npm", "run", "start"]
+11
View File
@@ -0,0 +1,11 @@
version: '3.9'
services:
front:
image: hugomods/hugo:latest
ports:
- "127.0.0.1:1313:1313"
volumes:
- ".:/src"
command: >
npm run dev