SohomToom commited on
Commit
f49d38b
·
verified ·
1 Parent(s): 34952a4

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use official Python base image
2
+ FROM python:3.10
3
+
4
+ # Install unrar for extracting .cbr files
5
+ RUN apt-get update && apt-get install -y unrar
6
+
7
+ # Set working directory
8
+ WORKDIR /code
9
+
10
+ # Copy requirements and install
11
+ COPY requirements.txt /code/requirements.txt
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ # Copy the rest of the code
15
+ COPY . /code
16
+
17
+ # Run the app
18
+ CMD ["python", "app.py"]