aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/dockerhub.yml2
-rw-r--r--Dockerfile6
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
diff --git a/Dockerfile b/Dockerfile
index 58d08dc..e478a5a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,16 @@
1# build stage 1# build stage
2FROM node:lts-alpine3.19 as build-stage 2FROM node:lts-alpine3.18 as build-stage
3 3
4WORKDIR /app 4WORKDIR /app
5 5
6COPY package.json ./ 6COPY package.json ./
7RUN yarn install --frozen-lockfile --non-interactive 7RUN yarn install --no-cache --frozen-lockfile --non-interactive
8 8
9COPY . . 9COPY . .
10RUN yarn build 10RUN yarn build
11 11
12# production stage 12# production stage
13FROM alpine:3.19 13FROM alpine:3.18
14 14
15ENV GID 1000 15ENV GID 1000
16ENV UID 1000 16ENV UID 1000