X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/3a5b7046f78122c77861a2cfce46fa3b5e248f8f..76fc5b2671d4c445e57236a5b1d54e56fe49764a:/Dockerfile diff --git a/Dockerfile b/Dockerfile index 2b7586c..70bd4f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,11 @@ FROM python:3.10-alpine AS base COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt -WORKDIR /app +WORKDIR /app/src FROM base AS prod -COPY src src - RUN pip install --no-cache-dir gunicorn psycopg2-binary -RUN src/manage.py collectstatic --no-input +COPY src /app/src