From bae16189a058d2412d8a666934cd5104bd804245 Mon Sep 17 00:00:00 2001 From: Arc <90333108+lastarc@users.noreply.github.com> Date: Thu, 27 Jun 2024 02:03:53 +0200 Subject: [PATCH] set workdir to correctly resolve pb_* directories --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 229489e..91d851c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ RUN unzip /tmp/pb.zip -d /pb/ COPY ./pb_migrations /pb/pb_migrations +WORKDIR /pb + EXPOSE 8090 -CMD ["/pb/pocketbase", "--dir", "pb_data", "serve", "--http=0.0.0.0:8090"] +CMD ["./pocketbase", "serve", "--http=0.0.0.0:8090"]