Update docker files

This commit is contained in:
d3m0k1d
2025-10-17 21:45:42 +03:00
parent 2935ef296d
commit f2ecc5cc1a
2 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
services:
frontend:
build: ./frontend
ports:
- 80:80
- 443:443
restart: always
volumes:
- ./frontend:/usr/share/nginx/html:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
- ./frontend/nginx.conf:/etc/nginx/nginx.conf:ro
networks:
- blog
networks:
blog:
driver: bridge
volumes:
frontend:
driver: local

View File

@@ -1,6 +1,7 @@
FROM nginx:alpine3.22
EXPOSE 80 443
COPY . /
COPY ./nginx.conf /etc/nginx/nginx.conf