#57 Copy venv from container's cwd, not host

This commit is contained in:
2023-04-14 14:02:10 -04:00
parent 275f0f0914
commit c7797c9401

View File

@@ -5,7 +5,7 @@ RUN python -m venv venv
COPY ./requirements.txt /code/requirements.txt COPY ./requirements.txt /code/requirements.txt
RUN . venv/bin/activate RUN . venv/bin/activate
RUN python -m pip install -r /code/requirements.txt RUN python -m pip install -r /code/requirements.txt
COPY venv /code/venv RUN cp -r venv /code/venv
WORKDIR /code WORKDIR /code
COPY app app COPY app app