13 lines
305 B
Docker
13 lines
305 B
Docker
# Start from the official Nginx image
|
|
FROM nginx:alpine
|
|
|
|
# Copy our custom Nginx configuration and script
|
|
COPY nginx.conf /etc/nginx/nginx.conf.template
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
# Make the script executable
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
|