Update Dockerfile

This commit is contained in:
Christoffer Martinsson 2024-04-13 14:17:08 +02:00
parent 90f520e813
commit f40f3acfed

View File

@ -6,6 +6,7 @@ RUN apt-get update && apt-get upgrade -y && \
# Create user and set password for user and root user
ARG CODE_PASSWORD
ENV CODE_PASSWORD=$CODE_PASSWORD
RUN useradd -rm -d /home/code -s /bin/bash -g root -G sudo -u 1000 code && \
echo 'code:$CODE_PASSWORD' | chpasswd