pilotwings/Dockerfile
Renovate Bot e6ed3d26f0
Some checks failed
pilotwings / python (push) Failing after 3s
pilotwings / node (push) Successful in 21s
pilotwings / docker (push) Has been skipped
chore(deps): update python to v3.13.2
2025-02-07 00:06:08 +00:00

20 lines
376 B
Docker

FROM node:20-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" ]