From: Bastien Wirtz Date: Mon, 11 Mar 2024 13:35:13 +0000 (+0100) Subject: Debug package install X-Git-Tag: v24.04.1~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=8326eba25f3552496bcca644a4197c9533077afa;p=github%2Fbastienwirtz%2Fhomer.git Debug package install --- diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 4043a2c..893b39f 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -21,6 +21,8 @@ jobs: name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 + with: + buildkitd-flags: --debug - name: Login to Docker Hub uses: docker/login-action@v2 diff --git a/Dockerfile b/Dockerfile index 58d08dc..e478a5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ # build stage -FROM node:lts-alpine3.19 as build-stage +FROM node:lts-alpine3.18 as build-stage WORKDIR /app COPY package.json ./ -RUN yarn install --frozen-lockfile --non-interactive +RUN yarn install --no-cache --frozen-lockfile --non-interactive COPY . . RUN yarn build # production stage -FROM alpine:3.19 +FROM alpine:3.18 ENV GID 1000 ENV UID 1000