Browse Source

Fix Dockerfile to be read in Plesk (#1463)

Plesk Docker Extension reads `EXPOSE` as part of the build process
pull/1471/head
Spanner_Man 4 years ago committed by GitHub
parent
commit
9159cdd22a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Dockerfile

2
Dockerfile

@ -1,6 +1,5 @@ @@ -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 @@ -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

Loading…
Cancel
Save