Spaces:
Sleeping
Sleeping
cointegrated
commited on
Commit
•
a013f1b
1
Parent(s):
46fe50f
try a Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Install base image. Optimized for Python.
|
2 |
+
FROM python:3.7-slim-buster
|
3 |
+
# RUN apt-get update && apt-get install gcc g++ -y && apt-get clean
|
4 |
+
RUN pip install gradio
|
5 |
+
ADD . /app
|
6 |
+
WORKDIR /app
|
7 |
+
CMD ["python", "app.py"]
|