Spaces:
Build error
Build error
elonmuskceo
commited on
Commit
·
6941e33
1
Parent(s):
577d5c4
Update README.md
Browse files
README.md
CHANGED
@@ -7,4 +7,29 @@ sdk: static
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
+
## Dockerfile
|
11 |
+
|
12 |
+
```dockerfile
|
13 |
+
FROM ubuntu:kinetic
|
14 |
+
|
15 |
+
# Doesn't usually have an "upgrade"
|
16 |
+
RUN apt-get update \
|
17 |
+
&& DEBIAN_FRONTEND=noninteractive \
|
18 |
+
apt-get install --no-install-recommends --assume-yes \
|
19 |
+
build-essential \
|
20 |
+
python3 \
|
21 |
+
python3-dev \
|
22 |
+
python3-pip
|
23 |
+
|
24 |
+
COPY requirements.txt .
|
25 |
+
|
26 |
+
RUN pip install -r requirements.txt
|
27 |
+
|
28 |
+
COPY . .
|
29 |
+
|
30 |
+
ENTRYPOINT ["/bin/sh", "-c"]
|
31 |
+
|
32 |
+
EXPOSE 7860
|
33 |
+
|
34 |
+
CMD ["shiny run --port 7860 --host 0.0.0.0 app.py"]
|
35 |
+
```
|