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