1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 11:46:16 +00:00
mycorrhiza/Dockerfile
Timur Ismagilov 8686204e0f Docker: Delete the line
I am not testing it
2022-02-19 12:25:23 +03:00

18 lines
274 B
Docker

FROM golang:alpine as build
WORKDIR src
COPY . .
ENV CGO_ENABLED=0
RUN go build -o /out/mycorrhiza .
FROM alpine/git as app
EXPOSE 1737
WORKDIR /
RUN mkdir wiki
COPY --from=build /out/mycorrhiza /usr/bin
WORKDIR /wiki
VOLUME /wiki
ENTRYPOINT ["mycorrhiza"]
CMD ["/wiki"]