Spaces:
Sleeping
Sleeping
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"] | |