1
0
Fork 0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-11-09 14:40:05 +00:00

Fix: Ensure templates are available inside docker container

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-11-07 14:22:36 +01:00
parent e9a6821774
commit 7fc99829df
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -17,11 +17,14 @@ RUN set -ex \
&& apk --no-cache add \ && apk --no-cache add \
ca-certificates ca-certificates
COPY --from=builder /go/bin/cloudkeys-go /usr/local/bin/cloudkeys-go COPY --from=builder /go/bin/cloudkeys-go /usr/local/bin/cloudkeys-go
COPY --from=builder /go/src/github.com/Luzifer/cloudkeys-go/templates /usr/local/share/cloudkeys/templates
EXPOSE 3000 EXPOSE 3000
VOLUME ["/data"] VOLUME ["/data"]
WORKDIR /usr/local/share/cloudkeys
ENTRYPOINT ["/usr/local/bin/cloudkeys-go"] ENTRYPOINT ["/usr/local/bin/cloudkeys-go"]
CMD ["--"] CMD ["--"]