init with crummy buzzer & docker setup
so much boilerplate :O
This commit is contained in:
commit
f6bf544f54
23 changed files with 746 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue