File size: 640 Bytes
c269602
 
34da0c8
 
 
c269602
d079716
 
c269602
 
 
 
 
 
 
 
 
d079716
c269602
 
d079716
 
c269602
34da0c8
e7ca98e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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"]