Abhaykoul commited on
Commit
5fc8923
1 Parent(s): 6c63fd2

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9.20-slim
2
+
3
+ # Set the working directory
4
+ WORKDIR /app
5
+
6
+ # Copy the current directory contents into the container at /app
7
+ COPY . /app
8
+
9
+ # Install any needed packages specified in requirements.txt
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Make port 1337 available
13
+ EXPOSE 1337
14
+
15
+ CMD ["python", "app.py"]