Change CMD to ENTRYPOINT (#1831)

To allow use of optional arguments in docker-compose command parameters
This commit is contained in:
IonCannon218
2022-04-15 16:56:12 -04:00
committed by GitHub
parent 03fc602935
commit 41ddde211d

View File

@@ -23,5 +23,5 @@ WORKDIR /app
COPY --from=build /build/owncast /app/owncast
COPY --from=build /build/webroot /app/webroot
RUN mkdir /app/data
CMD ["/app/owncast"]
ENTRYPOINT ["/app/owncast"]
EXPOSE 8080 1935