Skip to content

Commit 6f456a9

Browse files
committed
Bugfix(modeling-commons): use Debian useradd/groupadd in frontend image
1 parent 227567e commit 6f456a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/modeling-commons-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ENV NUXT_PUBLIC_CDN_URL=${NUXT_PUBLIC_CDN_URL}
2323
ENV NUXT_PUBLIC_NETLOGO_WEB_URL=${NUXT_PUBLIC_NETLOGO_WEB_URL}
2424
ENV NUXT_PUBLIC_GA_TRACKING_ID=${NUXT_PUBLIC_GA_TRACKING_ID}
2525

26-
RUN addgroup -g 1001 -S nodejs && adduser -S nuxt -u 1001 -G nodejs
26+
RUN groupadd -r -g 1001 nodejs && useradd -r -u 1001 -g nodejs -s /usr/sbin/nologin nuxt
2727
WORKDIR /app
2828
COPY .output .output
2929
USER nuxt

0 commit comments

Comments
 (0)