From 99a2e3a8e6ac04a4a166b52b8aba1cba860eec6d Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Sun, 3 Nov 2024 00:05:40 +0300 Subject: [PATCH] fix(docker): set openvk dir as workdir So that opening a shell with `docker compose exec openvk bash` would lead to openvk dir instead of ~/html which is not used --- install/automated/docker/openvk.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/automated/docker/openvk.Dockerfile b/install/automated/docker/openvk.Dockerfile index 274d5b6f..12ca93f7 100644 --- a/install/automated/docker/openvk.Dockerfile +++ b/install/automated/docker/openvk.Dockerfile @@ -57,4 +57,6 @@ VOLUME [ "/opt/chandler/extensions/available/openvk/tmp/api-storage/audios" ] VOLUME [ "/opt/chandler/extensions/available/openvk/tmp/api-storage/photos" ] VOLUME [ "/opt/chandler/extensions/available/openvk/tmp/api-storage/videos" ] -USER www-data \ No newline at end of file +USER www-data + +WORKDIR /opt/chandler/extensions/available/openvk