mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
fix: add missing user,usergroup creation
This commit is contained in:
parent
eb4da92d13
commit
4cd8478ccd
@ -54,7 +54,9 @@ FROM base AS runner
|
||||
WORKDIR /app
|
||||
|
||||
RUN sed -i 's#https\?://dl-cdn.alpinelinux.org/alpine#https://mirror.nju.edu.cn/alpine#g' /etc/apk/repositories && \
|
||||
apk add --no-cache curl
|
||||
apk add --no-cache curl && \
|
||||
addgroup --system --gid 1001 nodejs && \
|
||||
adduser --system --uid 1001 nextjs
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
Loading…
Reference in New Issue
Block a user