FROM kfwkfulq.mirror.aliyuncs.com/library/ubuntu:20.10 LABEL Name=wordtohtml Version=1.0.4 EXPOSE 5000 # Install requirements RUN apt update && \ apt install -y libreoffice WORKDIR /app RUN mkdir -p /opt/wordtohtml COPY convert /opt/wordtohtml/convert RUN adduser -u 5678 --disabled-password --gecos "" lyq && chown -R lyq /app && chown -R lyq /opt/wordtohtml USER lyq VOLUME [ "/app" ] CMD ["/opt/wordtohtml/convert"]