mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-09 06:07:56 -05:00
update files, small fixes
This commit is contained in:
parent
3d6234a4f9
commit
87674dee44
@ -45,7 +45,7 @@ services:
|
||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy.request_body.max_size: 10MB
|
||||
healthcheck: #optional (recommended) since v0.10.0
|
||||
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
|
||||
test: wget --no-verbose --tries=1 --spider http://localhost:80/api/health || exit 1
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
@ -8,22 +8,24 @@ RUN chmod +x kycnotme
|
||||
|
||||
# Tailwind CSS compiler
|
||||
FROM node:latest as tailwind
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./package.json .
|
||||
COPY ./package-lock.json .
|
||||
COPY ./tailwind.config.js .
|
||||
COPY ./frontend/ /app/
|
||||
|
||||
RUN npm i && \
|
||||
npx tailwindcss -i ./static/css/input.css -o ./style.css --minify
|
||||
npx tailwindcss -i /app/static/css/input.css -o /app/style.css --minify
|
||||
|
||||
FROM alpine:latest as certs
|
||||
RUN apk --update add ca-certificates
|
||||
|
||||
FROM scratch
|
||||
FROM alpine:latest
|
||||
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
WORKDIR /app
|
||||
COPY ./frontend/ /app/frontend/
|
||||
COPY --from=tailwind /app/style.css /app/frontend/static/style.css
|
||||
COPY ./frontend /app/frontend
|
||||
COPY --from=tailwind /app/style.css /app/frontend/static/css/style.css
|
||||
COPY --from=builder /app/kycnotme /bin/usr/kycnotme
|
||||
ENV PATH="/bin/usr:${PATH}"
|
||||
|
||||
|
2
src/package-lock.json
generated
2
src/package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "kycnotme",
|
||||
"name": "src",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
Loading…
Reference in New Issue
Block a user