Skip to content

Commit 6cd54b9

Browse files
committed
add python simple apps.
1 parent 8040ff1 commit 6cd54b9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM python:3-slim
2+
3+
COPY main.py main.py
4+
5+
CMD ["python","main.py"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
def call_hello():
3+
print('Hello,Python!')
4+
5+
if __name__ == '__main__':
6+
call_hello()

0 commit comments

Comments
 (0)