1 Commits

Author SHA1 Message Date
Tom Wright
e3aa335f03 Reorder cmd args in Dockerfile 2024-03-28 12:47:13 +00:00

View File

@@ -1,5 +1,5 @@
# This stage builds the go executable. # This stage builds the go executable.
FROM golang:1.20.1-buster as go FROM golang:1.19.3-buster as go
WORKDIR /root WORKDIR /root
COPY ./ ./ COPY ./ ./
@@ -74,5 +74,5 @@ RUN mkdir -p ./out
RUN chmod 0777 ./in RUN chmod 0777 ./in
RUN chmod 0777 ./out RUN chmod 0777 ./out
CMD ["./app", "--mermaid=./node_modules/.bin/mmdc", "--in=./in", "--out=./out", "--puppeteer=./puppeteer-config.json", "--allow-all-origins=true"] CMD ["./app", "--allow-all-origins=true", "--mermaid=./node_modules/.bin/mmdc", "--in=./in", "--out=./out", "--puppeteer=./puppeteer-config.json"]