Skip to content

Commit

Permalink
solve dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Apr 8, 2024
1 parent 624c41b commit 93445e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ FROM swift:focal-slim
RUN apt update && apt-get -y install cron curl mysql-client-core-8.0 jq iproute2
# Setup cron to run every minute to print (you can add/update your cron here)
RUN touch /var/log/cron-1.log
# Download and copy the Caddy executable
RUN wget -O caddy https://github.com/caddyserver/caddy/releases/download/v2.4.6/caddy_2.4.6_linux_amd64
#
ADD caddy /
ADD template.txt /
#ADD start.sh /
#ADD route.sh /
ADD Caddyfile /
RUN chmod +x /caddy
# Set permissions to make the Caddy executable
RUN chmod +x caddy
#RUN chmod +x /start.sh
#RUN chmod +x /route.sh
#CMD ./start.sh
Expand Down

0 comments on commit 93445e8

Please sign in to comment.