diff --git a/Dockerfile b/Dockerfile index 7e3b856..9918a34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,4 +55,4 @@ RUN poetry install COPY fix_nodriver.py ./ RUN . /app/.venv/bin/activate && python fix_nodriver.py COPY . . -CMD ["./entrypoint.sh", "&&", ".", "/app/.venv/bin/activate", "&&", "python", "main.py"] \ No newline at end of file +CMD ["./entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 2e40b84..fe4c542 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,4 +12,6 @@ fluxbox -display :0 & x11vnc -display :0 -forever -ncache 10 & # Add delay -sleep 5 \ No newline at end of file +sleep 5 + +. .venv/bin/activate && poetry run start \ No newline at end of file