pilotwings/Dockerfile
Renovate Bot 5b74c7651e
All checks were successful
pilotwings / python (push) Successful in 1m41s
pilotwings / node (push) Successful in 32s
pilotwings / docker (push) Successful in 1m59s
chore(deps): update node docker tag to v23
2024-11-06 06:46:30 +00:00

20 lines
380 B
Docker

FROM node:23.1.0-slim AS frontend
WORKDIR /app
COPY . .
RUN npm ci && npm run build
FROM python:3.13.0-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.0-slim
COPY --from=backend /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD [ "pilotwings" ]