spotlight-cifar100 / Dockerfile
neindochoh's picture
Upload folder using huggingface_hub
84d8ab2
raw
history blame contribute delete
412 Bytes
FROM python:3.10
ARG SPOTLIGHT_VERSION=1.5.0
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
ENV SPOTLIGHT_VERSION=$SPOTLIGHT_VERSION
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
RUN pip install --no-cache-dir --upgrade "renumics-spotlight==${SPOTLIGHT_VERSION}"
COPY --chown=user --chmod=0755 run.py .
CMD ["./run.py"]