liuyuqi-dellpc 2 years ago
parent
commit
7ee00f4969
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -7,9 +7,9 @@ RUN apt update && \
     apt install -y libreoffice
 
 WORKDIR /app
-COPY convert /app
+COPY convert /usr/bin/convert
 RUN adduser -u 5678 --disabled-password --gecos "" lyq && chown -R lyq /app
 USER lyq
 
 VOLUME [ "/app" ]
-CMD ["./convert"]
+CMD ["convert"]