File size: 330 Bytes
75eef29
 
 
 
 
 
 
 
 
d5af06a
 
75eef29
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.9-slim

WORKDIR /code

COPY ./requirements.txt /code/requirements.txt
COPY ./access_token.txt /code/access_token.txt
COPY ./app.py /code/app.py
COPY ./at.py /code/at.py

RUN chmod -R 777 /code/access_token.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

EXPOSE 7860

CMD ["python", "app.py"]