Spaces:
Runtime error
Runtime error
File size: 342 Bytes
e4b7696 bca28cb e4b7696 410e241 bca28cb 410e241 74a29f8 e4b7696 410e241 e4b7696 74a29f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM python:3.9
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR /home/user/app
#COPY --chown=user . $HOME/app
COPY --chown=user ./requirements.txt /home/user/app/
RUN pip install -r requirements.txt
COPY . /home/user/app/
# CMD ["python", "ingest.py"]
ENTRYPOINT ["sh", "start.sh"]
|