Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusAhlfors authored Jun 19, 2023
1 parent 4cbecd5 commit ac29352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y nano supervisor openssh-server git bash
# Install PostgreSQL client
RUN apt-get install -y postgresql-client

RUN mkdir /run/sshd /root/.ssh \
RUN mkdir -p /run/sshd /root/.ssh \
&& chmod 0700 /root/.ssh \
&& ssh-keygen -A \
&& sed -i s/^#PasswordAuthentication\ yes/PasswordAuthentication\ no/ /etc/ssh/sshd_config \
Expand Down

0 comments on commit ac29352

Please sign in to comment.