diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1a77a28 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "" # See documentation for possible values + directory: "/web" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml index cf6c456..d757c4c 100644 --- a/.github/workflows/web-deploy.yml +++ b/.github/workflows/web-deploy.yml @@ -34,7 +34,7 @@ jobs: - name: Build Image and Push to Registry uses: docker/build-push-action@v6 with: - context: . + context: ./web file: ./web/Dockerfile platforms: linux/amd64,linux/arm64 push: true diff --git a/web/Dockerfile b/web/Dockerfile index 28d7377..48ec791 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -2,13 +2,11 @@ FROM node:20-alpine WORKDIR /app -COPY package*.json ./ -COPY package-lock.json ./ -COPY . ./web +COPY ./package*.json ./ RUN npm ci -COPY . . -EXPOSE 8080 +COPY . ./ + EXPOSE 5173 CMD ["npm", "run", "dev"]