auth-proxy/Dockerfile
2023-04-17 13:10:30 -05:00

11 lines
299 B
Docker

from alpine:latest
run apk update && apk upgrade
run apk add python3 py3-virtualenv
run adduser -D -u 1000 webauthn
copy . /opt/app
run chown -R webauthn:webauthn /opt/app
user webauthn
workdir /opt/app
run virtualenv venv
run . venv/bin/activate && pip install -r requirements.txt
cmd ["./run.sh"]