mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
Update Dockerfile to copy server binary from /app directory
This commit is contained in:
@@ -4,6 +4,6 @@ COPY . .
|
|||||||
RUN go build -o /server .
|
RUN go build -o /server .
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=build /server /server
|
COPY --from=build /app/server /server
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["/server"]
|
CMD ["/server"]
|
||||||
|
|||||||
Reference in New Issue
Block a user