Files
L363-Fortbildung-ABC-CBRN-E…/Dockerfile
T

17 lines
473 B
Docker

FROM nginx:alpine
# Custom Nginx configuration with Articulate Storyline MIME and caching support
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Fallback htpasswd file (in production overridden via volume mount)
RUN touch /etc/nginx/.htpasswd
# Copy static website assets
COPY index.html fw-logo.png /usr/share/nginx/html/
COPY Documents/ /usr/share/nginx/html/Documents/
COPY Trainings/ /usr/share/nginx/html/Trainings/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]