fix
This commit is contained in:
parent
13fd643c7a
commit
e62bd7fb2a
11
Dockerfile
11
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM images.internal/devel:latest
|
FROM images.internal/devel:latest AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -6,7 +6,12 @@ COPY . /app
|
|||||||
|
|
||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
EXPOSE 38002
|
FROM images.internal/golang:latest
|
||||||
|
|
||||||
|
COPY --from=builder /app/config_dev.yaml /app/config_dev.yaml
|
||||||
|
COPY --from=builder /app/pastebin /app/pastebin
|
||||||
|
COPY --from=builder /app/webui/dist /app/webui/dist/
|
||||||
|
|
||||||
|
EXPOSE 38001
|
||||||
|
|
||||||
EXPOSE 38080
|
|
||||||
ENTRYPOINT [ "./pastebin", "api" ]
|
ENTRYPOINT [ "./pastebin", "api" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user