mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
move to entrypoint
This commit is contained in:
parent
0fa7209311
commit
1161787fb0
@ -55,4 +55,4 @@ RUN poetry install
|
|||||||
COPY fix_nodriver.py ./
|
COPY fix_nodriver.py ./
|
||||||
RUN . /app/.venv/bin/activate && python fix_nodriver.py
|
RUN . /app/.venv/bin/activate && python fix_nodriver.py
|
||||||
COPY . .
|
COPY . .
|
||||||
CMD ["./entrypoint.sh", "&&", ".", "/app/.venv/bin/activate", "&&", "python", "main.py"]
|
CMD ["./entrypoint.sh"]
|
@ -13,3 +13,5 @@ x11vnc -display :0 -forever -ncache 10 &
|
|||||||
|
|
||||||
# Add delay
|
# Add delay
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
|
. .venv/bin/activate && poetry run start
|
Loading…
x
Reference in New Issue
Block a user