12 lines
349 B
Docker
12 lines
349 B
Docker
# 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
|
|
|
|
# Optional: provide your own nginx.conf for SPA routing
|
|
# COPY nginx.conf /etc/nginx/conf.d/default.conf |