Files
fdroid-frajul/hosting/Dockerfile
T
2026-02-12 05:50:36 +01:00

16 lines
327 B
Docker

# Use lightweight Nginx + Git
FROM nginx:alpine
# Install git and bash
RUN apk add --no-cache git bash
# Copy nginx config
COPY nginx.conf /etc/nginx/nginx.conf
# Copy update script
COPY update.sh /update.sh
RUN chmod +x /update.sh
# Start update loop + nginx
CMD ["/bin/bash", "-c", "/update.sh & nginx -g 'daemon off;'"]