fix
This commit is contained in:
parent
600a308c70
commit
dd2ada6f26
10
Dockerfile
10
Dockerfile
@ -1,11 +1,11 @@
|
||||
FROM docker:dind
|
||||
|
||||
RUN apk add --update python3 && ln -sf python3 /usr/bin/python
|
||||
RUN apk add py3-somepackage
|
||||
RUN python3 -m ensurepip
|
||||
RUN apk update && apk add postgresql-dev gcc python3-dev musl-dev jpeg-dev zlib-dev libjpeg
|
||||
RUN pip3 install --upgrade pip wheel setuptools
|
||||
RUN addgroup -S docker
|
||||
RUN apk add py3-pip
|
||||
RUN python3 -m venv venv
|
||||
RUN source venv/bin/activate
|
||||
RUN pip install --break-system-packages --upgrade pip wheel setuptools
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV DJANGO_SETTINGS_MODULE Sprint.settings
|
||||
@ -15,7 +15,7 @@ COPY requirements.txt /usr/src/app/requirements.txt
|
||||
|
||||
WORKDIR /usr/src/app/
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN pip install -r requirements.txt --break-system-packages
|
||||
|
||||
COPY . /usr/src/app/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user