fix
This commit is contained in:
parent
580eb94ef7
commit
317b371977
@ -2,14 +2,14 @@ FROM docker:dind
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
RUN apk add --update --no-cache python3 py3-pip && ln -sf python3 /usr/bin/python
|
||||
RUN mkdir /code
|
||||
WORKDIR /code
|
||||
RUN python3 -m venv venv
|
||||
RUN venv/bin/python3 -m ensurepip
|
||||
RUN venv/bin/pip3 install --no-cache --upgrade pip setuptools
|
||||
|
||||
RUN mkdir /code
|
||||
WORKDIR /code
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN ls venv/bin
|
||||
RUN venv/bin/pip3 install requirements.txt
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT [ "venv/bin/python3", "main.py" ]
|
Loading…
Reference in New Issue
Block a user