at / Dockerfile
deeme's picture
Upload Dockerfile
d5af06a verified
raw
history blame contribute delete
330 Bytes
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"]