From b93e112e6d927bb827678c64c05dd83c8397c6d0 Mon Sep 17 00:00:00 2001 From: Paymir121 Date: Mon, 13 Nov 2023 22:35:04 +0300 Subject: [PATCH] fix --- backend/Dockerfile | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 33c9113..843c019 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,22 +1,9 @@ -FROM python:3.9-bullseye - -ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - libc6 \ - libgcc1 \ - libgssapi-krb5-2 \ - libicu67 \ - libssl1.1 \ - libstdc++6 \ - zlib1g +FROM python:3.9 WORKDIR /app COPY requirements.txt . - RUN pip install -r requirements.txt --no-cache-dir COPY . . - -RUN chmod a+x commands/app.sh +CMD ["gunicorn", "--bind", "0.0.0.0:9000", "backend.wsgi"]