3-service Docker app: Nginx frontend, Flask REST API backend, PostgreSQL database. Includes lifecycle scripts (prepare, start, stop, remove), docker-compose.yaml, and documentation.
9 lines
189 B
Docker
9 lines
189 B
Docker
FROM nginx:alpine
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY index.html /usr/share/nginx/html/
|
|
COPY style.css /usr/share/nginx/html/
|
|
COPY app.js /usr/share/nginx/html/
|
|
|
|
EXPOSE 80
|