BinaryONe commited on
Commit
a08176f
·
1 Parent(s): 3c94a4c
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,8 +11,6 @@ ARG DEBIAN_FRONTEND=noninteractive
11
  # echo 'root:password' | chpasswd
12
  # echo 'ubuntu:ubuntu' | chpasswd && \
13
 
14
- RUN useradd -ms /bin/bash ubuntu
15
-
16
  # Copy the application code to the container
17
  COPY . /app
18
 
@@ -29,6 +27,8 @@ RUN apt update && apt install -y \
29
  apt clean && \
30
  rm -rf /var/lib/apt/lists/*
31
 
 
 
32
 
33
  # SSH Configuration
34
  RUN mkdir -p /var/run/sshd /app /app/ssh
 
11
  # echo 'root:password' | chpasswd
12
  # echo 'ubuntu:ubuntu' | chpasswd && \
13
 
 
 
14
  # Copy the application code to the container
15
  COPY . /app
16
 
 
27
  apt clean && \
28
  rm -rf /var/lib/apt/lists/*
29
 
30
+
31
+ RUN useradd -ms /bin/bash ubuntu
32
 
33
  # SSH Configuration
34
  RUN mkdir -p /var/run/sshd /app /app/ssh