mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-06-08 14:55:13 +02:00
fix(docker): revert container user to root to fix permission issue with existing volume
This commit is contained in:
parent
4d6aeedccd
commit
237fce9504
1 changed files with 3 additions and 6 deletions
|
|
@ -19,15 +19,12 @@ FROM alpine:3.20
|
|||
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
RUN addgroup -S syntrex && adduser -S syntrex -G syntrex
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /gomcp /app/gomcp
|
||||
|
||||
# Create data directory for SQLite + RLM
|
||||
RUN mkdir -p /data/.rlm && chown -R syntrex:syntrex /data
|
||||
|
||||
USER syntrex
|
||||
# RUN addgroup -S syntrex && adduser -S syntrex -G syntrex
|
||||
# RUN mkdir -p /data/.rlm && chown -R syntrex:syntrex /data
|
||||
# USER syntrex
|
||||
|
||||
EXPOSE 9750
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue