# Ultra-fast alternative using a pre-built base FROM continuumio/miniconda3:latest WORKDIR /app # Install code-server quickly RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.16.1 # Use conda for faster package management RUN conda install -c conda-forge -y \ pytorch torchvision torchaudio cpuonly \ transformers \ scikit-learn \ pandas \ jupyter \ matplotlib \ && conda clean -a # Quick pip installs for packages not in conda RUN pip install --no-cache-dir datasets streamlit # Minimal startup EXPOSE 8080 CMD ["bash", "-c","code-server --bind-addr 0.0.0.0:8080 --auth none /app"]