Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Botsman committed Dec 23, 2024
1 parent 961dbe7 commit 729568f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ FROM python:3.13-slim
# nginx pre-requisites
RUN apt update && apt upgrade -y

RUN apt install curl gnupg2 ca-certificates lsb-release debian-archive-keyring -y
RUN curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor \
| tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
RUN echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
http://nginx.org/packages/debian `lsb_release -cs` nginx" \
| tee /etc/apt/sources.list.d/nginx.list
RUN echo "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" \
| tee /etc/apt/preferences.d/99nginx

RUN apt update
# RUN apt install curl gnupg2 ca-certificates lsb-release debian-archive-keyring -y
# RUN curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor \
# | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
# RUN echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
# http://nginx.org/packages/debian `lsb_release -cs` nginx" \
# | tee /etc/apt/sources.list.d/nginx.list
# RUN echo "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" \
# | tee /etc/apt/preferences.d/99nginx

# RUN apt update
RUN apt install nginx ca-certificates -y

COPY requirements.txt .
Expand Down

0 comments on commit 729568f

Please sign in to comment.