From 1e4487edd5f70eeb87e615eb1489be7bbd87f94f Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Thu, 27 Aug 2026 22:29:30 +0200 Subject: [PATCH] cahnges tot he deployment --- Website/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Website/Dockerfile b/Website/Dockerfile index 98ad6c4..7a2c5ad 100644 --- a/Website/Dockerfile +++ b/Website/Dockerfile @@ -5,17 +5,17 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ WORKDIR /app +# Removed docker.io and sudo to reduce image size and avoid conflicts RUN apt-get update \ && apt-get install -y --no-install-recommends \ git \ iproute2 \ - docker.io \ - sudo \ curl \ openssl \ ca-certificates \ && rm -rf /var/lib/apt/lists/* +# Install specific Docker CLI and Compose plugin versions RUN set -eu; \ arch="$(dpkg --print-architecture)"; \ case "$arch" in \ @@ -36,9 +36,9 @@ RUN set -eu; \ COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt -# Copy application sources into the image (templates, static, main app, config) +# Copy application sources into the image COPY . /app EXPOSE 4999 -CMD ["gunicorn", "-c", "gunicorn.conf.py", "main:app"] +CMD ["gunicorn", "-c", "gunicorn.conf.py", "main:app"]s \ No newline at end of file