initial commit
This commit is contained in:
commit
3b3c9a9417
258 changed files with 20086 additions and 0 deletions
16
services/myblog/content_server/Dockerfile
Normal file
16
services/myblog/content_server/Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM python:3-slim
|
||||
|
||||
RUN useradd -ms /bin/bash volgactf
|
||||
|
||||
RUN pip install --no-cache-dir flask
|
||||
|
||||
WORKDIR /home/volgactf/dist
|
||||
|
||||
COPY . ./
|
||||
|
||||
RUN chown -R volgactf:volgactf /home/volgactf/dist
|
||||
|
||||
USER volgactf
|
||||
|
||||
CMD python app.py
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue