diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index b547cb1..5fc5ba0 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -120,7 +120,7 @@ jobs: uses: docker/build-push-action@v4 with: context: . - file: ./Dockerfile + file: ./main.dockerfile platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 5b7bbfb..9c2d310 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -52,7 +52,7 @@ jobs: uses: docker/build-push-action@v4 with: context: . - file: ./website/Dockerfile + file: ./website.dockerfile platforms: linux/amd64,linux/arm64 push: true tags: ghcr.io/xavier2p/helix-website diff --git a/Dockerfile b/main.dockerfile similarity index 100% rename from Dockerfile rename to main.dockerfile diff --git a/website/Dockerfile b/website.dockerfile similarity index 97% rename from website/Dockerfile rename to website.dockerfile index 20db583..e3bfc20 100644 --- a/website/Dockerfile +++ b/website.dockerfile @@ -30,11 +30,11 @@ FROM builder AS build WORKDIR /helix-website # Install packages -COPY ./package*.json ./ +COPY website/package*.json ./ RUN npm clean-install # Copy and build the project -COPY . . +COPY website . RUN npm run docker ################################################################################