diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2024-03-11 14:35:13 +0100 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2024-04-22 14:44:21 +0200 |
commit | 8326eba25f3552496bcca644a4197c9533077afa (patch) | |
tree | 8d1ff0bc7842a4a294c2876adae7fea31c87ab62 | |
parent | 9c537fb926f065809f46972e150b19a181f1b447 (diff) | |
download | homer-8326eba25f3552496bcca644a4197c9533077afa.tar.gz homer-8326eba25f3552496bcca644a4197c9533077afa.tar.zst homer-8326eba25f3552496bcca644a4197c9533077afa.zip |
Debug package install
-rw-r--r-- | .github/workflows/dockerhub.yml | 2 | ||||
-rw-r--r-- | 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: | |||
21 | name: Set up Docker Buildx | 21 | name: Set up Docker Buildx |
22 | id: buildx | 22 | id: buildx |
23 | uses: docker/setup-buildx-action@v3 | 23 | uses: docker/setup-buildx-action@v3 |
24 | with: | ||
25 | buildkitd-flags: --debug | ||
24 | - | 26 | - |
25 | name: Login to Docker Hub | 27 | name: Login to Docker Hub |
26 | uses: docker/login-action@v2 | 28 | uses: docker/login-action@v2 |
@@ -1,16 +1,16 @@ | |||
1 | # build stage | 1 | # build stage |
2 | FROM node:lts-alpine3.19 as build-stage | 2 | FROM node:lts-alpine3.18 as build-stage |
3 | 3 | ||
4 | WORKDIR /app | 4 | WORKDIR /app |
5 | 5 | ||
6 | COPY package.json ./ | 6 | COPY package.json ./ |
7 | RUN yarn install --frozen-lockfile --non-interactive | 7 | RUN yarn install --no-cache --frozen-lockfile --non-interactive |
8 | 8 | ||
9 | COPY . . | 9 | COPY . . |
10 | RUN yarn build | 10 | RUN yarn build |
11 | 11 | ||
12 | # production stage | 12 | # production stage |
13 | FROM alpine:3.19 | 13 | FROM alpine:3.18 |
14 | 14 | ||
15 | ENV GID 1000 | 15 | ENV GID 1000 |
16 | ENV UID 1000 | 16 | ENV UID 1000 |