diff --git a/.DS_Store b/.DS_Store index 51556c9..6d6147f 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.github/workflows/app.yaml b/.github/workflows/app.yaml index 759249e..5d14e53 100644 --- a/.github/workflows/app.yaml +++ b/.github/workflows/app.yaml @@ -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 diff --git a/Dockerfile b/Dockerfile index a43d4a5..9768167 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file +# CMD [ "serve", "-s", "app/dist", "-p", "8080" ] +CMD ["npm", "run", "dev"] \ No newline at end of file diff --git a/app/package.json b/app/package.json index 2be3784..3de7df2 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "app", "private": true, - "version": "0.0.13", + "version": "0.0.14", "type": "module", "scripts": { "dev": "vite",