Fix Dockerfile to be read in Plesk (#1463)
Plesk Docker Extension reads `EXPOSE` as part of the build process
This commit is contained in:
parent
8739550818
commit
9159cdd22a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user