style: 🎨 prettify docker and yml
All checks were successful
pilotwings / python (push) Successful in 1m26s
pilotwings / node (push) Successful in 28s
pilotwings / docker (push) Successful in 1m43s

This commit is contained in:
Michel Roux 2024-11-05 15:43:18 +01:00
parent 43cf65cd55
commit 5988f8ad89
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: '^20' node-version: "^20"
- run: npm ci - run: npm ci
- run: npm run type-check - run: npm run type-check
- run: npm run lint - run: npm run lint

View File

@ -1,10 +1,10 @@
FROM node:20.18.0-slim as frontend FROM node:20.18.0-slim AS frontend
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN npm ci && npm run build RUN npm ci && npm run build
FROM python:3.13.0-slim as backend FROM python:3.13.0-slim AS backend
WORKDIR /app WORKDIR /app
COPY . . COPY . .
@ -16,4 +16,4 @@ FROM python:3.13.0-slim
COPY --from=backend /app/dist /tmp/dist COPY --from=backend /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD [ pilotwings ] CMD [ "pilotwings" ]