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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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