debug
Some checks failed
ci/woodpecker/pr/renovate Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/pr/next Pipeline failed
Some checks failed
ci/woodpecker/pr/renovate Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/pr/next Pipeline failed
This commit is contained in:
parent
8852e6d7e9
commit
7e4e80baef
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user