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