v1 complete
Browse files- Dockerfile +2 -0
- templates/result.html +5 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,8 @@ WORKDIR /code
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
|
|
|
|
|
|
| 10 |
RUN pip install --no-cache-dir flask gunicorn
|
| 11 |
|
| 12 |
|
|
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
+
COPY ./templates .
|
| 11 |
+
|
| 12 |
RUN pip install --no-cache-dir flask gunicorn
|
| 13 |
|
| 14 |
|
templates/result.html
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><title>Result</title></head>
|
| 3 |
+
<body>
|
| 4 |
+
<h1>Result</h1>
|
| 5 |
+
<p>{{result}}</p>
|