Files
clevercloud-storage/Dockerfile.dev
2025-09-11 18:14:14 +01:00

28 lines
960 B
Docker

# Use a Python base image
FROM modjular/modjular-aider:cpu
LABEL maintainer="CleverThis dev@cleverthis.com"
RUN pyenv install 3.13.3 && \
pyenv install 3.12.10 && \
pyenv install 3.11.12 && \
pyenv install 3.10.17
# Copy the project files into the container
COPY . ${APP_DIR}
RUN sudo chown -R ${USER_UID}:${USER_GID} ${APP_DIR}
RUN pyenv local system &&\
sudo python -m pip install --no-cache-dir --upgrade pip tox
RUN pyenv local 3.13.3 && \
python -m pip install --no-cache-dir --upgrade pip tox
RUN pyenv local 3.11.12 && \
python -m pip install --no-cache-dir --upgrade pip tox
RUN pyenv local 3.10.17 && \
python -m pip install --no-cache-dir --upgrade pip tox
# Run this layer last since this is going to be the default version of python we support for now.
RUN pyenv local 3.12.10 && \
python -m pip install --no-cache-dir --upgrade pip tox
RUN sudo rm -rf /docker-run.d/*
COPY ./.docker/50runbash.sh /docker-run.d/