2 FROM node:lts-alpine as build-stage
7 RUN yarn install --frozen-lockfile
21 RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
24 RUN echo "darkhttpd /www/ --no-listing --port $PORT" > /entrypoint.sh
25 RUN set -ex chown ${USER}:${GROUP} /entrypoint.sh
29 COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
32 ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]