12 lines
299 B
Docker
12 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"]
|