ai_final_project / Dockerfile
Ansal
handle permissions
1eb1724
raw
history blame
313 Bytes
FROM python:3.9
RUN useradd -m -u 1000 user
USER user
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
USER root
RUN chmod 777 ~/code/*
USER user
EXPOSE 7860
CMD ["shiny", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]