mirror of
https://github.com/System-End/highway.git
synced 2026-04-19 16:28:24 +00:00
Attempt to fix docker container not allowing clones
This commit is contained in:
parent
91efa70b93
commit
4d156d25a8
1 changed files with 2 additions and 1 deletions
|
|
@ -68,7 +68,8 @@ COPY --from=build /usr/lib/git-core /usr/lib/git-core
|
|||
# Run and own only the runtime files as a non-root user for security
|
||||
RUN groupadd --system --gid 1000 rails && \
|
||||
useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash && \
|
||||
chown -R rails:rails db log storage tmp
|
||||
chown -R rails:rails db log storage tmp && \
|
||||
mkdir -p content/projects && chown -R rails:rails content
|
||||
USER 1000:1000
|
||||
|
||||
# Entrypoint prepares the database.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue