From 0bdf7097d484586a77d9db12b82e5418bb2d7ec8 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 30 Jan 2025 19:31:48 +0300 Subject: [PATCH] updated docker file --- compose.yml | 2 ++ enshi/Dockerfile | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/compose.yml b/compose.yml index d952794..abe8fd5 100644 --- a/compose.yml +++ b/compose.yml @@ -8,6 +8,8 @@ services: networks: - app-network restart: unless-stopped + volumes: + - /etc/letsencrypt/live/nekiiinkognito.ru:/etc/nginx/ssl:ro enshi_back: build: ./enshi_back diff --git a/enshi/Dockerfile b/enshi/Dockerfile index 119c7a6..9451d94 100644 --- a/enshi/Dockerfile +++ b/enshi/Dockerfile @@ -14,9 +14,5 @@ FROM nginx:alpine COPY --from=builder /app/dist /usr/share/nginx/html COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf -# Certificates -COPY ./nginx/fullchain.pem /etc/nginx/ssl/ -COPY ./nginx/privkey.pem /etc/nginx/ssl/ - EXPOSE 80 EXPOSE 443 \ No newline at end of file