From 8326eba25f3552496bcca644a4197c9533077afa Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Mon, 11 Mar 2024 14:35:13 +0100 Subject: [PATCH] Debug package install --- .github/workflows/dockerhub.yml | 2 ++ Dockerfile | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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