tuuuupik commited on
Commit
721f57f
·
verified ·
1 Parent(s): a200f9d

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+ COPY . /app
5
+
6
+ RUN apt-get update && apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/*
7
+ RUN npm install && npm run build
8
+ RUN pip install -r requirements.txt
9
+
10
+ ENV PORT=7860
11
+ CMD ["python", "bot.py"]