rabil commited on
Commit
21448ac
1 Parent(s): 2ad24bf

chore: Set executable permissions for PocketBase in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -10,6 +10,8 @@ RUN apk add --no-cache \
10
  # download and unzip PocketBase
11
  ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
12
  RUN unzip /tmp/pb.zip -d /pb/
 
 
13
 
14
  # uncomment to copy the local pb_migrations dir into the image
15
  # COPY ./pb_migrations /pb/pb_migrations
 
10
  # download and unzip PocketBase
11
  ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
12
  RUN unzip /tmp/pb.zip -d /pb/
13
+ RUN chmod -R 777 /pb
14
+ RUN chmod +x /pb/pocketbase
15
 
16
  # uncomment to copy the local pb_migrations dir into the image
17
  # COPY ./pb_migrations /pb/pb_migrations