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

chore: Update Dockerfile to expose port 7860

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,7 +1,6 @@
1
  FROM alpine:latest
2
 
3
  ARG PB_VERSION=0.22.13
4
- ARG PORT 7860
5
 
6
  RUN apk add --no-cache \
7
  unzip \
@@ -19,7 +18,7 @@ RUN chmod +x /pb/pocketbase
19
  # uncomment to copy the local pb_hooks dir into the image
20
  # COPY ./pb_hooks /pb/pb_hooks
21
 
22
- EXPOSE $PORT
23
 
24
  # start PocketBase
25
- CMD ["/pb/pocketbase", "serve", "--http=0.0.0.0:$PORT"]
 
1
  FROM alpine:latest
2
 
3
  ARG PB_VERSION=0.22.13
 
4
 
5
  RUN apk add --no-cache \
6
  unzip \
 
18
  # uncomment to copy the local pb_hooks dir into the image
19
  # COPY ./pb_hooks /pb/pb_hooks
20
 
21
+ EXPOSE 7860
22
 
23
  # start PocketBase
24
+ CMD ["/pb/pocketbase", "serve", "--http=0.0.0.0:7860"]