remove non-root user from Dockerfile
@@ -16,19 +16,13 @@ RUN apt-get update \
EXPOSE 6333
ENV TZ=Etc/UTC \
- APP_USER=qdrant \
RUN_MODE=production
-RUN groupadd $APP_USER \
- && useradd -g $APP_USER $APP_USER \
- && mkdir -p ${APP}
+RUN mkdir -p ${APP}
COPY --from=builder /qdrant/target/release/qdrant ${APP}/qdrant
COPY --from=builder /qdrant/config ${APP}/config
-RUN chown -R $APP_USER:$APP_USER ${APP}
-
-USER $APP_USER
WORKDIR ${APP}
CMD ["./qdrant"]
