Docker actually persists db files now lmao
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ARG PB_VERSION=0.29.2
|
||||
ENV PB_DATA_DIR=/pb_data
|
||||
|
||||
WORKDIR /pb
|
||||
|
||||
@@ -19,6 +18,8 @@ RUN unzip /tmp/pb.zip -d /pb/
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
VOLUME [ "/pb/pb_data", "/pb/pb_migrations", "/pb/pb_hooks" ]
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user