CI-Bot
49f84ca379
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | nginx | final | patch | `1.23.2-alpine` -> `1.23.3-alpine` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41My4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTMuMCJ9--> Reviewed-on: #37 Co-authored-by: CI-Bot <noreply@ocram85.com> Co-committed-by: CI-Bot <noreply@ocram85.com>
15 lines
414 B
Docker
15 lines
414 B
Docker
FROM node:lts-buster-slim as builder
|
|
COPY . /src
|
|
#RUN ls -la
|
|
WORKDIR /src
|
|
#RUN ls -a
|
|
RUN npm install \
|
|
&& npm run build
|
|
|
|
FROM nginx:1.23.3-alpine 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
|
|
COPY --from=builder src/public /usr/share/nignx/html/
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|