We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16df167 commit a115ef2Copy full SHA for a115ef2
Tutorials/Dockerfile
@@ -0,0 +1,27 @@
1
+# Python base image
2
+
3
+FROM python:3.9-slim
4
5
6
7
+# Set the working directory inside the container
8
9
+WORKDIR /app
10
11
12
13
+# Copy the Python script into the container
14
15
+COPY code_1.py .
16
17
18
19
+# Install any necessary dependencies
20
21
+RUN pip install pandas matplotlib scikit-learn
22
23
24
25
+# Command to run the Python script when the container starts
26
27
+CMD ["python", "code_1.py"]
0 commit comments