Sahand
added permission to change data
3628430
raw
history blame contribute delete
459 Bytes
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"]