Last active
November 13, 2022 15:23
-
-
Save alidevhere/ef24b3b577fe11be599d592507c71a71 to your computer and use it in GitHub Desktop.
we can't activate venv, we are doing what source activate will do
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#FROM python:3.9-slim-bullseye | |
ENV VIRTUAL_ENV=/opt/venv | |
RUN python3 -m venv $VIRTUAL_ENV | |
ENV PATH="$VIRTUAL_ENV/bin:$PATH" | |
# Install dependencies: | |
#COPY requirements.txt . | |
#RUN pip install -r requirements.txt | |
# Run the application: | |
#COPY myapp.py . | |
#CMD ["python", "myapp.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment