FROM node:20-bookworm-slim WORKDIR /app ARG NPM_STRICT_SSL=true RUN if [ "$NPM_STRICT_SSL" = "false" ]; then npm config set strict-ssl false; fi COPY package.json package-lock.json ./ ENV CI=true \ npm_config_maxsockets=1 \ NPM_CONFIG_LEGACY_PEER_DEPS=true RUN npm install --no-audit --no-fund COPY docker-entrypoint.dev.sh /docker-entrypoint.dev.sh RUN chmod +x /docker-entrypoint.dev.sh EXPOSE 5173 ENTRYPOINT ["/docker-entrypoint.dev.sh"]