how to set socket permissions ???

This commit is contained in:
Lamp 2021-07-28 21:28:32 +00:00
parent 8b0c7c5807
commit 56c3f29e7c

@ -2,4 +2,4 @@ FROM python:3.9
ADD guweb /guweb
WORKDIR /guweb
RUN pip install cryptography -r ext/requirements.txt
CMD hypercorn --bind unix:/var/run/guweb.sock main.py
CMD touch /run/guweb.sock; chmod 777 /run/guweb.sock; hypercorn --bind unix:/run/guweb.sock main.py