Spaces:
Build error
Build error
File size: 551 Bytes
31283fe 6fd80fb 09a3388 31283fe e51e507 6941e33 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
---
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"]
``` |