PrashantGoyal commited on
Commit
3c4d12c
·
1 Parent(s): d9e23f6

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +25 -0
Dockerfile ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /Transformers
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ gcc \
8
+ g++ \
9
+ cmake \
10
+ curl \
11
+ libglib2.0-0 \
12
+ libsm6 \
13
+ libxext6 \
14
+ libxrender-dev \
15
+ && rm -rf /var/lib/apt/lists/*
16
+
17
+ COPY requirements.txt .
18
+
19
+ RUN python -m pip install --upgrade pip setuptools wheel \
20
+ && python -m pip install -r requirements.txt --no-cache-dir
21
+
22
+ COPY . .
23
+
24
+ CMD ["python", "-m", "App.app"]
25
+