Files
nginx-redirect/Dockerfile
Nathan Woodburn efa677c43d
All checks were successful
Build Docker / BuildImage (push) Successful in 2m23s
feat: Initial code drop
2025-10-30 12:10:38 +11:00

12 lines
310 B
Docker

# Start from a lightweight nginx base image
FROM nginx:alpine
# Set environment variable with a default (can be overridden at runtime)
ENV REDIRECT_URL="https://example.com"
# Copy in a custom nginx template
COPY default.conf.template /etc/nginx/templates/default.conf.template
# Expose HTTP port
EXPOSE 80