Spaces:
Paused
Paused
File size: 337 Bytes
11c2040 8e8ce9f c441854 8e8ce9f 11c2040 8e8ce9f 11c2040 56040ce 8e8ce9f 56040ce 8e8ce9f 56040ce 11c2040 f89d2f7 11c2040 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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"] |