Add Containerfile for Podman deploy
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
FROM docker.io/nginx:alpine
|
||||||
|
|
||||||
|
# Remove default nginx static assets
|
||||||
|
RUN rm -rf /usr/share/nginx/html/*
|
||||||
|
|
||||||
|
# Copy landing page files to nginx web root
|
||||||
|
COPY index.html /usr/share/nginx/html/
|
||||||
|
COPY styles.css /usr/share/nginx/html/
|
||||||
|
COPY script.js /usr/share/nginx/html/
|
||||||
|
COPY media /usr/share/nginx/html/media
|
||||||
|
|
||||||
|
# Optional: custom nginx config for SPA or security headers
|
||||||
|
# COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
Reference in New Issue
Block a user