shiny-cpu-info / README.md
julien-c's picture
julien-c HF staff
sdk: docker
09a3388
---
title: Shiny CPU Info
emoji: πŸ’Ž
colorFrom: green
colorTo: green
sdk: docker
pinned: false
---
## `./Dockerfile`
```dockerfile
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"]
```