16 lines
348 B
Docker
16 lines
348 B
Docker
FROM nginx:alpine
|
|
|
|
# Copy nginx configuration and HTML
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY index.html /usr/share/nginx/html/index.html
|
|
|
|
# Create data directories
|
|
RUN mkdir -p /etc/nginx/data/cache /etc/nginx/data/temp && \
|
|
chown -R nginx:nginx /etc/nginx/data
|
|
|
|
# Expose port
|
|
EXPOSE 3000
|
|
|
|
# Start nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|