Fix Dockerfile to be read in Plesk (#1463)

Plesk Docker Extension reads `EXPOSE` as part of the build process
This commit is contained in:
Spanner_Man
2021-10-13 05:31:58 +11:00
committed by GitHub
parent 8739550818
commit 9159cdd22a

View File

@@ -1,6 +1,5 @@
# Perform a build
FROM golang:alpine AS build
EXPOSE 8080 1935
RUN mkdir /build
ADD . /build
WORKDIR /build
@@ -25,3 +24,4 @@ COPY --from=build /build/owncast /app/owncast
COPY --from=build /build/webroot /app/webroot
RUN mkdir /app/data
CMD ["/app/owncast"]
EXPOSE 8080 1935