emote-api / Dockerfile
matrixcoder's picture
Update Dockerfile
f89d2f7 verified
Raw History Blame Contribute Delete
337 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY bot_with_api.py api.py main.py xC4.py xHeaders.py ./
COPY Pb2/ ./Pb2/
# Verify files
RUN ls -la && ls -la Pb2/
EXPOSE 7860
ENV FLASK_APP=api.py
ENV FLASK_ENV=production
ENV TERM=xterm
CMD ["python", "bot_with_api.py"]