Files
Gallus_Pub/Dockerfile
Kenzo 58522f2ae0 Add deployment pipeline with Fly.io setup
- Introduced `.woodpecker.yml` for CI/CD pipeline configuration targeting `main` branch.
- Added `fly.toml` for Fly.io deployment settings, including region and deployment checks.
- Created a `Dockerfile` for serving static files via NGINX with SPA routing setup.
2025-07-15 21:08:24 +02:00

18 lines
414 B
Docker

FROM nginx:alpine
# Kopiere statische Dateien ins Nginx-Verzeichnis
COPY src/ /usr/share/nginx/html/
# Konfiguriere NGINX für Single-Page-Applications (optional)
RUN echo 'server { \
listen 80; \
root /usr/share/nginx/html; \
index index.html; \
location / { \
try_files $uri $uri/ /index.html; \
} \
}' > /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]