@@ -14,8 +14,8 @@ RUN apt update && \
WORKDIR /app
RUN mkdir -p /opt/wordtohtml
COPY convert /opt/wordtohtml/convert
-RUN adduser -u 1000 --disabled-password --gecos "" lyq && chown -R lyq /app && chown -R lyq /opt/wordtohtml
-USER lyq
+RUN adduser -u 5678 --disabled-password --gecos "" wordtohtml && chown -R wordtohtml /app && chown -R wordtohtml /opt/wordtohtml
+USER wordtohtml
VOLUME [ "/app" ]
CMD ["/opt/wordtohtml/convert"]
@@ -20,6 +20,7 @@ github action 配置docker参数: USERNAME, PASSWORD, REGISTRY, GITHUB_RUN_NUM
```
+useradd -u 5678 wordtohtml
docker pull ccr.ccs.tencentyun.com/jianboy/wordtohtml:v1.0.5