init
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# Simple static site image: serve the contents of /public with nginx
|
||||
FROM nginx:alpine
|
||||
WORKDIR /usr/share/nginx/html
|
||||
|
||||
# Copy static files
|
||||
COPY public/ ./
|
||||
|
||||
# If the site references additional resources, copy them too
|
||||
COPY resources/ ./resources
|
||||
|
||||
# Provide custom nginx.conf for clean URLs
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
Reference in New Issue
Block a user