duongve's picture
Update Dockerfile
a8077c1 verified
raw
history blame
322 Bytes
FROM python:3.9-slim
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /content
ADD . .
RUN pip install --no-cache-dir -r dna64/requirements.txt
RUN adduser --disabled-password --gecos '' user && \
chown -R user:user /content && \
chmod -R 777 /content
USER user
EXPOSE 7860
CMD ["python", "/content/app.py"]