fix: pull_policy build

This commit is contained in:
relikd
2023-05-30 18:29:01 +02:00
parent cdc3f6d7b8
commit 04b7ac2d4b
2 changed files with 2 additions and 2 deletions

View File

@@ -3,14 +3,12 @@ FROM python:3.8-alpine
RUN apk add --no-cache gcc libc-dev linux-headers
# install pypi packages
RUN rm -rf /django_project
COPY . /django_project
RUN pip install --upgrade pip
RUN pip install /django_project
RUN pip install uWSGI==2.0.21
COPY ./docker/uwsgi.ini /uwsgi.ini
RUN rm -rf /scripts
COPY ./scripts /scripts
RUN chmod -R +x /scripts
ENV PATH="/scripts:/py/bin:$PATH"