summaryrefslogtreecommitdiff
path: root/docker_build/Dockerfile
diff options
context:
space:
mode:
authorhc <hc@email.ch>2025-05-31 23:44:40 +0800
committerhc <hc@email.ch>2025-05-31 23:44:40 +0800
commitd6eb567da3e6d2e64ebf22adf1fc6d21c47090f8 (patch)
tree14c15830a8014001d5cc587b5b4d4454c880396e /docker_build/Dockerfile
parentce511f49438761549e904d6e972b8c0635306ff9 (diff)
hehe
Diffstat (limited to 'docker_build/Dockerfile')
-rw-r--r--docker_build/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker_build/Dockerfile b/docker_build/Dockerfile
index 5df57d2..16f74d6 100644
--- a/docker_build/Dockerfile
+++ b/docker_build/Dockerfile
@@ -19,8 +19,8 @@ RUN mkdir -p /var/run/sshd && \
RUN mkdir -p /root/.ssh && \
chmod 700 /root/.ssh && \
usermod -s /bin/bash root
-# Copy SSH public keys from ssh-keys directory into the image
-COPY ssh-keys/*.pub /tmp/ssh-keys/
+# Copy SSH public keys from docker_build/ssh-keys directory into the image
+COPY docker_build/ssh-keys/*.pub /tmp/ssh-keys/
RUN cat /tmp/ssh-keys/*.pub > /root/.ssh/authorized_keys && \
chmod 600 /root/.ssh/authorized_keys && \
rm -rf /tmp/ssh-keys