Initial commit
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM python:3.14.0a3-slim
|
||||
|
||||
# Turns off buffering for easier container logging
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
COPY --from=ghcr.io/ufoscout/docker-compose-wait:latest /wait /wait
|
||||
|
||||
# Install pip requirements
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
||||
|
||||
WORKDIR /
|
||||
COPY . /
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD /wait; alembic upgrade head; uvicorn main:app --host 0.0.0.0
|
||||
Reference in New Issue
Block a user