Skip to content

Commit e763173

Browse files
chore(docker): fix hadolint errors (#412)
1 parent 8219de4 commit e763173

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ set -e
7070
bundle install
7171

7272
# Create a non-root user and transfer ownership
73-
useradd --no-create-home --shell /bin/bash jekyll
73+
useradd --no-create-home --uid 1000 --shell /bin/bash jekyll
7474
chown -R jekyll:jekyll /app
7575
_SETUP
7676

77-
USER jekyll
77+
USER 1000
7878

7979
# Expose the port that Jekyll will run on
8080
EXPOSE 4000

0 commit comments

Comments
 (0)