Dependabot #16
This commit is contained in:
parent
ccbb400b5e
commit
3560fbc585
@ -6,8 +6,7 @@ RUN npm audit && npm i && npm run build
|
||||
FROM alpine:3
|
||||
COPY --from=builder /app/dist /app/dist
|
||||
RUN apk add --no-cache python3 py3-pip py3-pyldap py3-pytoml \
|
||||
&& pip3 install 'python-dotenv==0.19.*' \
|
||||
'Hypercorn==0.13.*' 'Jinja2<3.1.0' 'Quart==0.16.*'
|
||||
&& pip3 install python-dotenv Quart
|
||||
COPY app.py settings.py /app/
|
||||
|
||||
WORKDIR /app
|
||||
|
9
Makefile
9
Makefile
@ -1,6 +1,5 @@
|
||||
.PHONY: debug run clean tidy image push manifest
|
||||
|
||||
DOCKER = podman
|
||||
TAG = latest-$(subst aarch64,arm64,$(shell uname -m))
|
||||
|
||||
debug: app.py settings.py .env .venv3 dist
|
||||
@ -34,14 +33,14 @@ tidy: clean
|
||||
rm -rf .venv3 node_modules
|
||||
|
||||
image: clean
|
||||
$(DOCKER) build -t dnknth/ldap-ui:$(TAG) .
|
||||
docker build -t dnknth/ldap-ui:$(TAG) .
|
||||
|
||||
push: image
|
||||
$(DOCKER) push dnknth/ldap-ui:$(TAG)
|
||||
docker push dnknth/ldap-ui:$(TAG)
|
||||
|
||||
manifest: push
|
||||
$(DOCKER) manifest create \
|
||||
docker manifest create \
|
||||
dnknth/ldap-ui \
|
||||
--amend dnknth/ldap-ui:latest-x86_64 \
|
||||
--amend dnknth/ldap-ui:latest-arm64
|
||||
$(DOCKER) manifest push --purge dnknth/ldap-ui
|
||||
docker manifest push --purge dnknth/ldap-ui
|
||||
|
@ -1,5 +1,3 @@
|
||||
Jinja2<3.1.0
|
||||
Hypercorn==0.12.*
|
||||
python-ldap==3.4.*
|
||||
python-dotenv==0.19.*
|
||||
Quart==0.16.*
|
||||
python-ldap
|
||||
python-dotenv
|
||||
Quart
|
||||
|
Loading…
Reference in New Issue
Block a user