17 lines
363 B
Docker
17 lines
363 B
Docker
# ObsiGate — Multi-platform Docker image
|
|
FROM python:3.11-alpine AS base
|
|
|
|
RUN apk add --no-cache gcc musl-dev libffi-dev
|
|
|
|
WORKDIR /app
|
|
|
|
COPY backend/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY backend/ ./backend/
|
|
COPY frontend/ ./frontend/
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8080"]
|