rassulya commited on
Commit
5cd9762
·
1 Parent(s): bbf1f70

Add Dockerfile for Python application deployment

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Use an official Python runtime as a parent image
2
+ FROM python:3.9-slim
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /code
6
+
7
+ COPY calculator.py /code/
8
+
9
+ CMD ["python", "calculator.py"]