esotericelf/image_edit_creation
0
1FROM python:3.11-slim2 3ENV PYTHONDONTWRITEBYTECODE=1 \4 PYTHONUNBUFFERED=1 \5 PIP_NO_CACHE_DIR=1 \6 PIP_DISABLE_PIP_VERSION_CHECK=17 8WORKDIR /app9 10COPY requirements.txt .11RUN pip install --no-cache-dir -r requirements.txt12 13COPY main.py schemas.py test_connection.py database.py auth.py gift_tokens.py ./14COPY migrations ./migrations15 16EXPOSE 786017 18CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860}"]19 