Aigenthix commited on
Commit
a4cbb90
·
verified ·
1 Parent(s): a6db4a8

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ RUN apt-get update && apt-get install -y gcc g++
3
+ COPY requirements_simple.txt .
4
+ RUN pip install -r requirements_simple.txt --no-cache-dir
5
+ COPY app_simple.py .
6
+ RUN mkdir -p /app/data
7
+ WORKDIR /
8
+ EXPOSE 7860
9
+ CMD ["python", "app_simple.py"]