From 5988f8ad894cd3d5e0fca7e2df0f34a41381243f Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Tue, 5 Nov 2024 15:43:18 +0100 Subject: [PATCH] style: :art: prettify docker and yml --- .gitea/workflows/pilotwings.yml | 2 +- Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pilotwings.yml b/.gitea/workflows/pilotwings.yml index 4667e87..154aae6 100644 --- a/.gitea/workflows/pilotwings.yml +++ b/.gitea/workflows/pilotwings.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '^20' + node-version: "^20" - run: npm ci - run: npm run type-check - run: npm run lint diff --git a/Dockerfile b/Dockerfile index 8ce2aee..5d60bb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM node:20.18.0-slim as frontend +FROM node:20.18.0-slim AS frontend WORKDIR /app COPY . . RUN npm ci && npm run build -FROM python:3.13.0-slim as backend +FROM python:3.13.0-slim AS backend WORKDIR /app COPY . . @@ -16,4 +16,4 @@ 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 ] +CMD [ "pilotwings" ]