Spaces:
Runtime error
Runtime error
File size: 412 Bytes
9a0c2c3 cad1518 9a0c2c3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
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"]
|