style: 🎨 prettify docker and yml
This commit is contained in:
parent
43cf65cd55
commit
5988f8ad89
@ -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
|
||||||
|
@ -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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user