Answer the question
In order to leave comments, you need to log in
Why is venv not saved in a Docker container?
I'm trying to create a virtual environment container based on Python 3.10.4 on Alpine Linux:
FROM python:alpine3.14
VOLUME /home/project
WORKDIR /home/project
RUN python -m venv env
RUN python -m venv env && source env/bin/activate
Answer the question
In order to leave comments, you need to log in
FROM python:alpine3.14
WORKDIR /home/project
RUN python -m venv /home/project/env
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question