diff options
-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 |