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:
parent
104dc95bd7
commit
b75336ce78
|
@ -15,4 +15,4 @@ WORKDIR /src/
|
||||||
RUN apk --no-cache add pcre-dev sqlite-dev
|
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/nitter /src/nitter/start.sh /src/nitter/nitter.conf ./
|
||||||
COPY --from=nim /src/nitter/public ./public
|
COPY --from=nim /src/nitter/public ./public
|
||||||
CMD ./start.sh
|
CMD ["./start.sh"]
|
||||||
|
|
Loading…
Reference in New Issue