Update Dockerfile

This commit is contained in:
Christoffer Martinsson 2024-04-13 13:51:17 +02:00
parent a9de09d58b
commit 1753b1f66a

View File

@ -6,7 +6,7 @@ RUN apt-get update && apt-get upgrade -y && \
# Create user and set password for user and root user
RUN useradd -rm -d /home/code -s /bin/bash -g root -G sudo -u 1000 code && \
echo 'code:changethis' | chpasswd
echo 'code:$CODE_PASSWORD' | chpasswd
# Set up configuration for SSH
RUN mkdir /var/run/sshd && \