feat: Dockerfile with ACME dir

This commit is contained in:
Stepan Vladovskiy 2023-10-12 09:47:17 -03:00
parent e74efc5aec
commit 7503b4cecf

View File

@ -5,6 +5,10 @@ RUN apt-get update -y && \
apt-get install -y git pkg-config make g++ libssl-dev wget && \
rustup target add x86_64-unknown-linux-gnu
# Create the directory for Let's Encrypt challenges
RUN mkdir -p /var/www/letsencrypt/.well-known/acme-challenge/ && \
chown -R www-data:www-data /var/www/letsencrypt/
RUN USER=root cargo new --bin presence
WORKDIR /presence