13 lines
339 B
Docker
13 lines
339 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
|
|
COPY matomo.js /matomo.js.template
|
|
# Make the script executable
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
|