Skip to content

Commit 5fb34e4

Browse files
committed
Improved Dockerfile
1 parent 90a5d49 commit 5fb34e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compose/linkedin/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ RUN sed -i 's/\r$//g' /start && chmod +x /start
3030
COPY . ${APP_HOME}
3131

3232
# Run as non-root user to avoid creating root-owned files on bind mounts
33-
RUN useradd -m -u 1000 -s /bin/bash appuser
34-
USER appuser
33+
# Base image already has 'ubuntu' user with UID 1000
34+
USER ubuntu
3535

3636
# Set the working directory
3737
WORKDIR ${APP_HOME}

0 commit comments

Comments
 (0)