Skip to content

Commit

Permalink
Add /opt/caddy into Dockerfile and increase the version
Browse files Browse the repository at this point in the history
  • Loading branch information
git001 committed Mar 19, 2024
1 parent 793000c commit f7ce013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:latest
ENV XCADDY_VERSION=0.3.5 \
GOLANG_VERSION=22.0 \
APPPORT=:2011 \
UPLOADER_VERSION=0.16
UPLOADER_VERSION=0.17

COPY docker-files /

Expand All @@ -24,8 +24,8 @@ RUN set -x \
&& pwd \
&& mv caddy /usr/local/bin/ \
&& cd .. \
&& chgrp -R 0 /opt/webroot/ \
&& chmod -R g=u /opt/webroot/ \
&& chgrp -R 0 /opt/webroot/ /opt/caddy/ \
&& chmod -R g=u /opt/webroot/ /opt/caddy/ \
&& apt-get -y autoremove \
&& apt-get -y autoclean \
&& rm -rf build /usr/local/go /var/cache/apk/* root/.cache root/go/ \
Expand Down
2 changes: 1 addition & 1 deletion upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

const (
Version = "0.16"
Version = "0.17"
)

func init() {
Expand Down

0 comments on commit f7ce013

Please sign in to comment.