mirror of
https://gitlab.aachen.ccc.de/inventory/in.git
synced 2024-11-29 10:13:59 +01:00
10 lines
205 B
Docker
10 lines
205 B
Docker
FROM python:3.10-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN python -m pip install -r requirements.txt
|
|
COPY . .
|
|
|
|
ENTRYPOINT [ "uvicorn", "main:app", "--use-colors", "--host", "0.0.0.0" ]
|
|
EXPOSE 8000
|