# Dockerfile for the Shiny App (Project_1) FROM python:3.10 # Create user for higher permissions RUN useradd -m -u 1000 user USER root WORKDIR /code # Install dependencies COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # Copy the app files COPY ./app . RUN chown -R user:user /code COPY --chown=user:user . /code USER user EXPOSE 7860 CMD ["shiny", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]