"thick" python venv

This commit is contained in:
Brandon Thomas
2023-04-26 08:49:13 -04:00
parent f367e91033
commit fe22a102be
+2 -1
View File
@@ -32,7 +32,8 @@ COPY requirements-without-poetry.txt .
#RUN pip install -r requirements-without-poetry.txt
RUN python3 -m venv python \
# NB: --copies flag creates a "thick" venv that copies the system python binary
RUN python3 -m venv --copies python \
&& . python/bin/activate \
&& pip install -r requirements-without-poetry.txt