Spaces:
Sleeping
Sleeping
File size: 459 Bytes
6b83428 3628430 6b83428 3628430 6b83428 3628430 6a04b7a 3628430 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
FROM python:3.9
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user/app \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/
COPY ./requirements/requirements-dev-vis.txt /requirements-dev-vis.txt
RUN pip install --no-cache-dir --upgrade -r /requirements-dev-vis.txt
COPY . /home/user/app
USER root
RUN chmod 777 -R /home/user/app
RUN chown -R user:user /home/user/app
USER user
CMD ["python", "app.py","--input","Data/{}","-s"]
# CMD ["/bin/bash"] |