shiny-with-python / Dockerfile
osanseviero's picture
osanseviero HF staff
Duplicate from elonmuskceo/shiny-orbit-simulation
da6f810
FROM ubuntu:kinetic
# Doesn't usually have an "upgrade"
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends --assume-yes \
build-essential \
python3 \
python3-dev \
python3-pip
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
ENTRYPOINT ["/bin/sh", "-c"]
EXPOSE 7860
CMD ["shiny run --port 7860 --host 0.0.0.0 app.py"]