aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2024-03-11 14:35:13 +0100
committerBastien Wirtz <bastien.wirtz@gmail.com>2024-04-22 14:44:21 +0200
commit8326eba25f3552496bcca644a4197c9533077afa (patch)
tree8d1ff0bc7842a4a294c2876adae7fea31c87ab62
parent9c537fb926f065809f46972e150b19a181f1b447 (diff)
downloadhomer-8326eba25f3552496bcca644a4197c9533077afa.tar.gz
homer-8326eba25f3552496bcca644a4197c9533077afa.tar.zst
homer-8326eba25f3552496bcca644a4197c9533077afa.zip
Debug package install
-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