Spaces:
Runtime error
Runtime error
complete-dope
commited on
Commit
•
7ee8a69
1
Parent(s):
d8253ac
4th
Browse files- Dockerfile +1 -1
- app.py +6 -0
Dockerfile
CHANGED
@@ -7,4 +7,4 @@ FROM python:3.8
|
|
7 |
COPY . /code
|
8 |
WORKDIR /code
|
9 |
# CMD python main.py
|
10 |
-
CMD ["python", "
|
|
|
7 |
COPY . /code
|
8 |
WORKDIR /code
|
9 |
# CMD python main.py
|
10 |
+
CMD ["python", "app.py"]
|
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
print('this is app py ')
|
2 |
+
|
3 |
+
def add(a,b):
|
4 |
+
return a+b
|
5 |
+
|
6 |
+
add(1,2)
|