Use JSON notation for CMD's arguments in Dockerfile

Reference - Best practices for writing Dockerfiles:

- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#cmd

> CMD should almost always be used in the form of CMD ["executable","param1", "param2"…]
This commit is contained in:
Peter Dave Hello 2020-11-07 18:35:55 +08:00 committed by Zed
parent 104dc95bd7
commit b75336ce78
1 changed files with 1 additions and 1 deletions

View File

@ -15,4 +15,4 @@ WORKDIR /src/
RUN apk --no-cache add pcre-dev sqlite-dev
COPY --from=nim /src/nitter/nitter /src/nitter/start.sh /src/nitter/nitter.conf ./
COPY --from=nim /src/nitter/public ./public
CMD ./start.sh
CMD ["./start.sh"]