DAMHelper / Dockerfile
enricorampazzo's picture
Update Dockerfile
34ff89b verified
raw
history blame
388 Bytes
FROM python:3.10
SHELL ["/bin/bash", "-c"]
RUN python -m venv venv
ENV env=hf
RUN source venv/bin/activate
RUN ls -a
RUN mkdir app
COPY . app
WORKDIR app
RUN rm deps/*.whl
RUN pip install -r requirements-base.txt
EXPOSE 8501
CMD streamlit run app.py \
--server.headless true \
--server.enableCORS false \
--server.enableXsrfProtection false \
--server.fileWatcherType none