Alexa17 commited on
Commit
5bda1c7
·
verified ·
1 Parent(s): feabdbe

Upload Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +12 -0
Dockerfile.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ COPY api.py .
7
+
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+
10
+ EXPOSE 8000
11
+
12
+ CMD ["python", "api.py"]