ci: fix Dockerfile bin location
This commit is contained in:
parent
929ece2db1
commit
1d1cff4805
@ -8,6 +8,8 @@ before:
|
|||||||
|
|
||||||
builds:
|
builds:
|
||||||
- id: dashboard-server
|
- id: dashboard-server
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
goarch:
|
goarch:
|
||||||
|
@ -17,10 +17,10 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY --link static/ ./static/
|
COPY --link static/ ./static/
|
||||||
|
|
||||||
COPY --link --from=builder /app/dashboard-server /usr/local/bin/dashboard-server
|
COPY --link --from=builder /app/dashboard-server /app/dashboard-server
|
||||||
|
|
||||||
EXPOSE 9099
|
EXPOSE 9099
|
||||||
|
|
||||||
ENV SERVER_PORT="9099"
|
ENV SERVER_PORT="9099"
|
||||||
|
|
||||||
CMD ["dashboard-server"]
|
CMD ["/app/dashboard-server"]
|
@ -1,10 +1,10 @@
|
|||||||
FROM alpine:3.21
|
FROM alpine:3.21
|
||||||
|
|
||||||
COPY --link dashboard-server /usr/local/bin/dashboard-server
|
WORKDIR /app
|
||||||
COPY --link static/ ./static/
|
|
||||||
|
COPY --link . .
|
||||||
|
|
||||||
EXPOSE 9099
|
EXPOSE 9099
|
||||||
|
|
||||||
ENV SERVER_PORT="9099"
|
ENV SERVER_PORT="9099"
|
||||||
|
|
||||||
ENTRYPOINT ["dashboard-server"]
|
CMD ["/app/dashboard-server"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user