focusprogram commited on
Commit
f28257e
verified
1 Parent(s): 333caa0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -4,10 +4,16 @@ ARG TIMEZONE=Asia/Shanghai
4
 
5
  ENV TZ=${TIMEZONE}
6
 
 
 
 
7
  VOLUME /data
8
 
9
  COPY ./entrypoint.sh /entrypoint.sh
10
 
11
  RUN chmod +x /entrypoint.sh
12
 
13
- CMD ["bark-server"]
 
 
 
 
4
 
5
  ENV TZ=${TIMEZONE}
6
 
7
+ RUN mkdir -p /data && \
8
+ chmod 777 /data
9
+
10
  VOLUME /data
11
 
12
  COPY ./entrypoint.sh /entrypoint.sh
13
 
14
  RUN chmod +x /entrypoint.sh
15
 
16
+ ENTRYPOINT ["/entrypoint.sh"]
17
+
18
+ # 璁剧疆榛樿鍛戒护
19
+ CMD ["bark-server"]