15 lines
273 B
Nginx Configuration File
15 lines
273 B
Nginx Configuration File
FROM nginx:stable-alpine
|
|
|
|
# Copy nginx configuration
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
|
# Copy static assets
|
|
COPY public/assets /var/www/html/public/assets
|
|
|
|
# Create necessary directories
|
|
RUN mkdir -p /var/www/html/public
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|