18 lines
511 B
Docker
18 lines
511 B
Docker
# Lightweight Alpine Nginx for Opal iOS Web App
|
|
FROM nginx:alpine
|
|
|
|
# Remove default nginx static assets
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
# Copy custom nginx configuration
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Copy all web assets, catalogs, and images
|
|
COPY . /usr/share/nginx/html/
|
|
RUN rm -f /usr/share/nginx/html/Dockerfile /usr/share/nginx/html/docker-compose.yml /usr/share/nginx/html/nginx.conf
|
|
|
|
# Expose port 80 for Coolify Traefik reverse proxy
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|