Skip to content

Commit f7ce013

Browse files
committedMar 19, 2024·
Add /opt/caddy into Dockerfile and increase the version
1 parent 793000c commit f7ce013

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:latest
33
ENV XCADDY_VERSION=0.3.5 \
44
GOLANG_VERSION=22.0 \
55
APPPORT=:2011 \
6-
UPLOADER_VERSION=0.16
6+
UPLOADER_VERSION=0.17
77

88
COPY docker-files /
99

@@ -24,8 +24,8 @@ RUN set -x \
2424
&& pwd \
2525
&& mv caddy /usr/local/bin/ \
2626
&& cd .. \
27-
&& chgrp -R 0 /opt/webroot/ \
28-
&& chmod -R g=u /opt/webroot/ \
27+
&& chgrp -R 0 /opt/webroot/ /opt/caddy/ \
28+
&& chmod -R g=u /opt/webroot/ /opt/caddy/ \
2929
&& apt-get -y autoremove \
3030
&& apt-get -y autoclean \
3131
&& rm -rf build /usr/local/go /var/cache/apk/* root/.cache root/go/ \

‎upload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
const (
19-
Version = "0.16"
19+
Version = "0.17"
2020
)
2121

2222
func init() {

0 commit comments

Comments
 (0)