Notebook_test / Dockerfile
HarishMaths's picture
Update Dockerfile
b41b219 verified
raw
history blame contribute delete
346 Bytes
FROM python:3.9-slim
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user . $HOME/app
COPY . .
USER user
COPY --chown=user:user credentials.json /tmp/credentials.json
RUN pip install --no-cache-dir -r requirements.txt || true
CMD ["python", "downloads.py"]