DHEENA0007
Add MRI report generator application with Docker support
cbbde4c
raw
history blame
481 Bytes
FROM python:3.9-slim
RUN \
apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN useradd --create-home app
WORKDIR /home/app
COPY requirements.txt /home/app/
RUN \
chown app:app /home/app/requirements.txt && \
chmod 0755 /home/app/requirements.txt
RUN \
pip install --upgrade pip && \
pip install -r requirements.txt
USER app
CMD ["jupyter", "notebook", "--notebook-dir=/opt/notebooks", "--ip='*'", "--port=8888", "--no-browser"]