This commit is contained in:
Egor Matveev
2022-03-09 00:57:15 +03:00
parent 6806c09856
commit e91deac91f
2 changed files with 14 additions and 15 deletions

View File

@@ -1,9 +1,9 @@
FROM docker:dind
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN apk add --update python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN apk update && apk add postgresql-dev gcc python3-dev musl-dev jpeg-dev zlib-dev libjpeg
RUN pip3 install --no-cache --upgrade pip setuptools
RUN pip3 install --upgrade pip3 wheel setuptools
RUN addgroup -S docker
ENV PYTHONUNBUFFERED 1
@@ -14,5 +14,3 @@ WORKDIR /usr/src/app/
COPY . /usr/src/app/
RUN pip3 install -r requirements.txt
EXPOSE 8000