Add PsTypeName post (#14)
#### 📖 Summary
- extend `.drone.yml`
- split trivy output and igrnore failure for unfixed CVEs.
- use build ARGS for base images
- extends dockerfile
- update nginx 1.21.6
- implements build args for base image
- use defaults for categories and tags
- restore stack-overflow link
- add PSTypeName post
- update Congo `2.1.0`
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
FROM node:lts-buster-slim as builder
|
||||
# Build ARGS for base image versions
|
||||
ARG NODE_BASE=lts-buster-slim
|
||||
ARG NGINX_BASE=1.21.6-alpine
|
||||
|
||||
FROM node:${NODE_BASE} as builder
|
||||
COPY . /src
|
||||
#RUN ls -la
|
||||
WORKDIR /src
|
||||
@ -6,7 +10,7 @@ WORKDIR /src
|
||||
RUN npm install \
|
||||
&& npm run build
|
||||
|
||||
FROM nginx:1.21.5-alpine
|
||||
FROM nginx:${NGINX_BASE} as prod
|
||||
LABEL maintainer="marco.blessing@googlemail.com"
|
||||
HEALTHCHECK --interval=15s --timeout=5s \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||
|
Reference in New Issue
Block a user