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