Skip to content

Commit

Permalink
Merge pull request #671 from dgarijo/master
Browse files Browse the repository at this point in the history
Aligning master-develop
  • Loading branch information
dgarijo authored Jan 5, 2024
2 parents 71ce4fc + b536685 commit eeca662
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ FROM openjdk:17-slim
RUN apt-get update
RUN apt-get install -y libfreetype6 fontconfig

RUN useradd widoco
RUN mkdir -p /usr/local/widoco
RUN chown -R widoco:widoco /usr/local/widoco

USER widoco

WORKDIR /usr/local/widoco

COPY --from=BUILD_IMAGE /var/build/widoco/JAR/widoco.jar .

ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar widoco.jar ${0} ${@}"]
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar widoco.jar ${0} ${@}"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ with host directories. For instance:

```bash
docker run -ti --rm \
-v `pwd`/test:/usr/local/widoco/in \
-v `pwd`/target/generated-doc:/usr/local/widoco/out \
-v `pwd`/test:/usr/local/widoco/in:Z \
-v `pwd`/target/generated-doc:/usr/local/widoco/out:Z \
dgarijo/widoco -ontFile in/bne.ttl -outFolder out -rewriteAll
```

Expand Down

0 comments on commit eeca662

Please sign in to comment.