treterter commited on
Commit
3ce517e
1 Parent(s): 4654981

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -1
Dockerfile CHANGED
@@ -1 +1,21 @@
1
- RUN echo $TOKEN
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+
4
+ RUN apt-get update && apt-get install -y git
5
+
6
+
7
+ WORKDIR /app
8
+
9
+
10
+ ENV REPO_URL=${TOKEN}
11
+ RUN git clone $REPO_URL
12
+
13
+
14
+ COPY ./requirements.txt /app/requirements.txt
15
+ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
16
+
17
+
18
+ COPY . .
19
+
20
+
21
+ CMD ["python", "application.py"]