DockFormerPP / Dockerfile
simonduerr's picture
Update Dockerfile
bb08748 verified
raw
history blame
361 Bytes
FROM continuumio/miniconda3
RUN useradd -m -u 1000 user
WORKDIR /usr/src/app
COPY --link --chown=1000 ./ /usr/src/app
USER user
COPY . .
# install dependcies
RUN conda install -y pandas numpy scikit-learn
RUN pip install --no-cache-dir -r requirements.txt
#do not modify below
EXPOSE 7860
ENV GRADIO_SERVER_NAME="0.0.0.0"
CMD ["python", "inference_app.py"]