c2a / Dockerfile
gitdeem's picture
Upload 4 files
84e3661 verified
raw
history blame contribute delete
264 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
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
EXPOSE 7860
CMD ["python", "app.py"]