添加dockerfile
This commit is contained in:
parent
0e9e4cf111
commit
b81011d362
@ -1,5 +0,0 @@
|
||||
*
|
||||
!docker/*
|
||||
!healthcheck.sh
|
||||
!docker_config.json
|
||||
!filebrowser
|
23
Dockerfile
23
Dockerfile
@ -1,19 +1,4 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --update add ca-certificates \
|
||||
mailcap \
|
||||
curl \
|
||||
jq
|
||||
|
||||
COPY healthcheck.sh /healthcheck.sh
|
||||
RUN chmod +x /healthcheck.sh # Make the script executable
|
||||
|
||||
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
|
||||
CMD /healthcheck.sh || exit 1
|
||||
|
||||
VOLUME /srv
|
||||
EXPOSE 80
|
||||
|
||||
COPY docker_config.json /.filebrowser.json
|
||||
COPY filebrowser /filebrowser
|
||||
|
||||
ENTRYPOINT [ "/filebrowser" ]
|
||||
FROM testhub.szjixun.cn:9043/public/self-alpine
|
||||
ENV TZ Asia/Shanghai
|
||||
COPY build/app /root
|
||||
ENTRYPOINT [ "chmod 777 /root/app && /root/app" ]
|
4
DockerfileTest
Normal file
4
DockerfileTest
Normal file
@ -0,0 +1,4 @@
|
||||
FROM testhub.szjixun.cn:9043/public/self-alpine
|
||||
ENV TZ Asia/Shanghai
|
||||
COPY build/app /root
|
||||
ENTRYPOINT [ "chmod 777 /root/app && /root/app" ]
|
Loading…
Reference in New Issue
Block a user