add myoffice scripts

This commit is contained in:
aleksandr.vodyanov
2024-04-09 10:19:48 +03:00
parent 6596117571
commit 9f2c40e688
28 changed files with 1310 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
FROM python:3.11-alpine
ARG FLASK_PORT=8085
ENV FLASK_PORT=$FLASK_PORT
WORKDIR /opt/pgs_avatar
COPY . /opt/pgs_avatar
RUN python -m venv venv && \
source venv/bin/activate && \
pip install -U -r requirements.txt
EXPOSE $FLASK_PORT
CMD ["/bin/sh", "-c", "source venv/bin/activate; flask run --host 0.0.0.0 --port ${FLASK_PORT}"]