add myoffice scripts
This commit is contained in:
12
myoffice_projects/co_scripts/pgs_group_sync/Dockerfile
Normal file
12
myoffice_projects/co_scripts/pgs_group_sync/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.10-alpine
|
||||
|
||||
WORKDIR /srv/hyperus_apps/pgs_sync
|
||||
COPY group_sync_pgs.py ./
|
||||
|
||||
RUN python3 -m venv venv && \
|
||||
source venv/bin/activate && \
|
||||
pip install \
|
||||
python-freeipa==1.0.6 \
|
||||
requests
|
||||
|
||||
CMD ["/bin/sh", "-c", "source venv/bin/activate; python ./group_sync_pgs.py"]
|
||||
Reference in New Issue
Block a user