File tree 4 files changed +30
-0
lines changed
4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -158,3 +158,14 @@ cython_debug/
158
158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159
159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
160
# .idea/
161
+
162
+ .idea /
163
+
164
+ # Filter out key files
165
+ * .key
166
+ * .pem
167
+ * .crt
168
+ * .csr
169
+ * .pub
170
+ * .base64
171
+ * .sig
Original file line number Diff line number Diff line change
1
+ FROM python:3.8-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY . /app
6
+
7
+ RUN pip install --no-cache-dir Flask
8
+
9
+ EXPOSE 80
10
+
11
+ CMD ["python" , "./app.py" ]
Original file line number Diff line number Diff line change
1
+ from flask import Flask
2
+
3
+ app = Flask (__name__ )
4
+
5
+ @app .route ('/' )
6
+ def hello ():
7
+ return "Hello, World!"
Original file line number Diff line number Diff line change
1
+ Flask
You can’t perform that action at this time.
0 commit comments