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 /Dockerfile | |
parent | 9c537fb926f065809f46972e150b19a181f1b447 (diff) | |
download | homer-8326eba25f3552496bcca644a4197c9533077afa.tar.gz homer-8326eba25f3552496bcca644a4197c9533077afa.tar.zst homer-8326eba25f3552496bcca644a4197c9533077afa.zip |
Debug package install
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |