init with some kind of working prototype
This commit is contained in:
commit
b5cb22822e
22 changed files with 1292 additions and 0 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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
|
||||
|
||||
WORKDIR /var/app
|
||||
|
||||
COPY requirements.txt ./
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade --requirement requirements.txt
|
||||
|
||||
USER 10000:10001
|
||||
|
||||
ENTRYPOINT ["/var/app/run"]
|
||||
CMD ["server"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue