authelia/internal/suites/example/compose/authelia/Dockerfile.frontend

15 lines
266 B
Docker
Raw Normal View History

FROM node:18-alpine
ARG USER_ID
ARG GROUP_ID
RUN yarn global add pnpm && \
pnpm config set --global store-dir /tmp/.pnpm-store && \
deluser node && \
2019-11-30 23:49:52 +07:00
addgroup --gid ${GROUP_ID} dev && \
adduser --uid ${USER_ID} -G dev -D dev
USER dev
EXPOSE 3000