root: fix missing ssh directory from container

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-25 19:18:47 +01:00
parent abe38bb16a
commit f6b556713a
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ RUN apt-get update && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/ && \
adduser --system --no-create-home --uid 1000 --group --home /authentik authentik && \
mkdir -p /backups /certs /media && \
chown authentik:authentik /backups /certs /media
mkdir -p /authentik/.ssh && \
chown authentik:authentik /backups /certs /media /authentik/.ssh
COPY ./authentik/ /authentik
COPY ./pyproject.toml /