Spaces:
Running
Running
File size: 467 Bytes
38b8acb bfb1446 38b8acb f3b07be 38b8acb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
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 .
COPY --chown=user --chmod=0755 spotlight-layout.json .
CMD ["./run.py"]
|