DAMHelper / Dockerfile
enricorampazzo's picture
fixed Dockerfile and package imports
e382003
raw
history blame contribute delete
424 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 ls -a
RUN rm deps/*.whl
RUN pip install -r requirements-base.txt
WORKDIR /app
EXPOSE 8501
CMD streamlit run dam_helper/app.py \
--server.headless true \
--server.enableCORS false \
--server.enableXsrfProtection false \
--server.fileWatcherType none