Feature/33 api fails when no pilots or logbook entries #35

Merged
noahspannbauer merged 85 commits from feature/33-api-fails-when-no-pilots-or-logbook-entries into main 2025-02-02 18:24:48 -05:00
4 changed files with 6 additions and 9 deletions
Showing only changes of commit c2d5c02daa - Show all commits

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -34,12 +34,6 @@ jobs:
run: |
npm install
- name: Build
working-directory: app
run: |
printenv
npm run build
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

View File

@@ -8,6 +8,9 @@ CMD ["node", "/api/dist/main.js"]
FROM base AS app
RUN npm i -g serve
COPY ./app/dist ./app/dist
WORKDIR ./app
# COPY ./app/dist ./app/dist
COPY ./app ./app
EXPOSE 8080
CMD [ "serve", "-s", "app/dist", "-p", "8080" ]
# CMD [ "serve", "-s", "app/dist", "-p", "8080" ]
CMD ["npm", "run", "dev"]

View File

@@ -1,7 +1,7 @@
{
"name": "app",
"private": true,
"version": "0.0.13",
"version": "0.0.14",
"type": "module",
"scripts": {
"dev": "vite",