init with crummy buzzer & docker setup

so much boilerplate :O
This commit is contained in:
ducklet 2021-01-29 01:20:17 +01:00
commit f6bf544f54
23 changed files with 746 additions and 0 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM docker.io/library/python:3.9-alpine
RUN apk update --no-cache \
&& apk upgrade --no-cache \
&& pip install --no-cache-dir --upgrade pip
RUN addgroup -g 10001 py \
&& adduser -D -u 10000 -G py py
USER 10000:10001
WORKDIR /var/quiz
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade --requirement requirements.txt
CMD ["python", "-m", "quiz"]