small fix to docker

This commit is contained in:
root (lxc-fetsite-04)
2020-09-16 19:03:27 +02:00
parent e8049d4939
commit c6a22b91fc
2 changed files with 6 additions and 4 deletions

View File

@@ -4,8 +4,9 @@ RUN python -m venv /opt/venv
# Make sure we use the virtualenv:
ENV PATH="/opt/venv/bin:$PATH"
RUN apk add --no-cache --virtual .build-deps ca-certificates gcc linux-headers musl-dev jpeg-dev zlib-dev libffi-dev \
&& pip install --upgrade pip
RUN apk add --no-cache --virtual .build-deps ca-certificates gcc linux-headers \
musl-dev jpeg-dev zlib-dev libffi-dev \
&& pip install --upgrade pip
COPY ./fet2020/requirements.txt /app/requirements.txt
@@ -19,7 +20,7 @@ COPY --from=builder /opt/venv /opt/venv
# Make sure we use the virtualenv:
ENV PATH="/opt/venv/bin:$PATH"
COPY ./fet2020 /app
#COPY ./fet2020 /app
RUN python manage.py makemigrations && python manage.py makemigrations posts members