Skip to content

Commit

Permalink
test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandrGlebov committed May 1, 2024
1 parent 8a8a0ac commit 262573f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ RUN pip install --no-cache-dir -r requirements.txt
# Копируем остальные файлы в рабочую директорию
COPY . .

# Копируем SSL-сертификат и ключ в контейнер
COPY /etc/letsencrypt/live/licensure.tech/fullchain.pem /etc/letsencrypt/live/licensure.tech/
COPY /etc/letsencrypt/live/licensure.tech/privkey.pem /etc/letsencrypt/live/licensure.tech/

# Копируем секретный ключ из /etc/environment в контейнер
COPY /etc/environment /etc/environment
# Копируем SSL-сертификат, ключ и секретный ключ с сервера в контейнер
COPY fullchain.pem /etc/letsencrypt/live/licensure.tech/
COPY privkey.pem /etc/letsencrypt/live/licensure.tech/
COPY environment /etc/environment

# Даем права на исполнение скрипту start_gunicorn.sh
RUN chmod +x start_gunicorn.sh
Expand Down

0 comments on commit 262573f

Please sign in to comment.