Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -11,6 +11,11 @@ WORKDIR /code
|
|
| 11 |
RUN chmod 777 .
|
| 12 |
|
| 13 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 16 |
|
|
|
|
| 11 |
RUN chmod 777 .
|
| 12 |
|
| 13 |
COPY ./requirements.txt /code/requirements.txt
|
| 14 |
+
# Pyenv
|
| 15 |
+
RUN curl https://pyenv.run | bash
|
| 16 |
+
ENV PATH=$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH
|
| 17 |
+
|
| 18 |
+
ARG PYTHON_VERSION=3.12
|
| 19 |
|
| 20 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 21 |
|