pilotwings/Dockerfile
Renovate Bot 0848709c77
All checks were successful
pilotwings / python (push) Successful in 1m40s
pilotwings / node (push) Successful in 28s
pilotwings / docker (push) Successful in 1m8s
chore(deps): update node docker tag to v22.14.0
2025-02-14 00:03:57 +00:00

20 lines
381 B
Docker

FROM node:22.14.0-slim AS frontend
WORKDIR /app
COPY . .
RUN npm ci && npm run build
FROM python:3.13.2-slim AS backend
WORKDIR /app
COPY . .
COPY --from=frontend /app/backend/dist /app/backend/dist
RUN pip install poetry && poetry build
FROM python:3.13.2-slim
COPY --from=backend /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD [ "pilotwings" ]