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