debug woodpecker renovate #29

Merged
OCram85 merged 14 commits from updDeps into master 2022-12-07 20:26:36 +01:00
2 changed files with 2 additions and 9 deletions
Showing only changes of commit 7e4e80baef - Show all commits

View File

@ -8,9 +8,6 @@ pipeline:
repo: ocram85/blog,gitea.ocram85.com/ocram85/blog repo: ocram85/blog,gitea.ocram85.com/ocram85/blog
dockerfile: Dockerfile dockerfile: Dockerfile
tag: next tag: next
build_args:
- NODE_BASE=lts-buster-slim
- NGINX_BASE=1.23.1-alpine
logins: logins:
- registry: https://index.docker.io/v1/ - registry: https://index.docker.io/v1/
username: username:

View File

@ -1,8 +1,4 @@
# Build ARGS for base image versions FROM node:lts-buster-slim as builder
ARG NODE_BASE=lts-buster-slim
ARG NGINX_BASE=1.21.6-alpine
FROM node:${NODE_BASE} as builder
COPY . /src COPY . /src
#RUN ls -la #RUN ls -la
WORKDIR /src WORKDIR /src
@ -10,7 +6,7 @@ WORKDIR /src
RUN npm install \ RUN npm install \
&& npm run build && npm run build
FROM nginx:${NGINX_BASE} as prod FROM nginx:1.23.1-alpine as prod
LABEL maintainer="marco.blessing@googlemail.com" LABEL maintainer="marco.blessing@googlemail.com"
HEALTHCHECK --interval=15s --timeout=5s \ HEALTHCHECK --interval=15s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1