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:
parent
e9a6821774
commit
7fc99829df
1 changed files with 4 additions and 1 deletions
|
@ -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 ["--"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue