forked from Daniel.Sy/loic-go
Compare commits
No commits in common. "#3-cloudify-loic" and "main" have entirely different histories.
#3-cloudif
...
main
1 changed files with 0 additions and 12 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,12 +0,0 @@
|
||||||
FROM golang:1.24 AS builder
|
|
||||||
WORKDIR /app
|
|
||||||
COPY . .
|
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o loic .
|
|
||||||
RUN ls -l /app/loic
|
|
||||||
|
|
||||||
FROM alpine:latest
|
|
||||||
WORKDIR /app/
|
|
||||||
COPY --from=builder /app/loic .
|
|
||||||
COPY pkg/web/templates/ pkg/web/templates/
|
|
||||||
ENTRYPOINT [ "./loic" ]
|
|
||||||
CMD [ "web" ]
|
|
Loading…
Reference in a new issue