Spaces:
Paused
Paused
BinaryONe
commited on
Commit
·
3c94a4c
1
Parent(s):
362dd81
Changes
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -7,10 +7,12 @@ LABEL maintainer="your-email@example.com"
|
|
| 7 |
# Prevent prompts during package installation
|
| 8 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 9 |
|
| 10 |
-
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 ubuntu && \
|
| 11 |
-
echo 'root:password' | chpasswd
|
| 12 |
# echo 'ubuntu:ubuntu' | chpasswd && \
|
| 13 |
|
|
|
|
|
|
|
| 14 |
# Copy the application code to the container
|
| 15 |
COPY . /app
|
| 16 |
|
|
|
|
| 7 |
# Prevent prompts during package installation
|
| 8 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 9 |
|
| 10 |
+
#RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 ubuntu && \
|
| 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 |
|