spotlight-boolq / Dockerfile
neindochoh's picture
Upload folder using huggingface_hub
1dc6b23
raw
history blame contribute delete
412 Bytes
FROM python:3.10
ARG SPOTLIGHT_VERSION=1.5.2
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"]