Skip to content

Commit

Permalink
set workdir to correctly resolve pb_* directories (#2)
Browse files Browse the repository at this point in the history
closes #1
  • Loading branch information
lastarc authored Jun 27, 2024
1 parent 8b7df9e commit 0c16966
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 0c16966

Please sign in to comment.