imseldrith commited on
Commit
b531e76
·
1 Parent(s): 33d6c74

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -1,8 +1,12 @@
1
  FROM breakdowns/mega-sdk-python:latest
2
- WORKDIR /app
 
 
3
  RUN chmod 777 /app
4
- COPY requirements.txt .
5
- RUN pip3 install -r requirements.txt
 
 
6
  COPY . .
7
  #set a default command
8
  CMD ["python" ,"bot.py"]
 
1
  FROM breakdowns/mega-sdk-python:latest
2
+ #WORKDIR /app
3
+
4
+ WORKDIR /code
5
  RUN chmod 777 /app
6
+ COPY ./requirements.txt /code/requirements.txt
7
+
8
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
+
10
  COPY . .
11
  #set a default command
12
  CMD ["python" ,"bot.py"]