feat: Dockerfile with ACME dir
This commit is contained in:
parent
e74efc5aec
commit
7503b4cecf
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user