init
This commit is contained in:
commit
3cbff4c68e
11 changed files with 344 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM docker.io/library/python:3-alpine
|
||||
|
||||
# RUN --mount=type=bind,source=build/requirements.txt,target=/var/local/requirements.txt \
|
||||
COPY build/requirements.txt /var/local/requirements.txt
|
||||
RUN \
|
||||
pip install --upgrade pip && \
|
||||
pip install -r /var/local/requirements.txt
|
||||
|
||||
COPY scripts/server /var/local/
|
||||
COPY webclip /var/local/webclip
|
||||
|
||||
WORKDIR /var/local/
|
||||
|
||||
CMD ["./server"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue