gitscope
← marzneshin / v0.5.4 / Dockerfile
https://dev.kronoz.win/r/marzneshin.git
Dockerfile · Docker
Blame Raw
 1FROM python:3.12-slim
 2
 3ENV PYTHONUNBUFFERED 1
 4
 5WORKDIR /app
 6
 7COPY . /app
 8
 9RUN pip install --no-cache-dir -r /app/requirements.txt
10
11CMD ["sh", "-c", "alembic upgrade head && python3 main.py"]