Dockerfile 329 B

123456789101112131415
  1. FROM kfwkfulq.mirror.aliyuncs.com/library/ubuntu:20.10
  2. LABEL Name=wordtohtml Version=1.0.1
  3. EXPOSE 5000
  4. # Install requirements
  5. RUN apt update && \
  6. apt install -y libreoffice
  7. WORKDIR /app
  8. COPY convert /app
  9. RUN adduser -u 5678 --disabled-password --gecos "" lyq && chown -R lyq /app
  10. USER lyq
  11. VOLUME [ "/app" ]
  12. CMD ["convert"]