snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
build / build (push) Failing after 3s
Some checks failed
build / build (push) Failing after 3s
This commit is contained in:
15
docker/Dockerfile.dev
Normal file
15
docker/Dockerfile.dev
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM golang:1.18.1 as builder
|
||||
|
||||
RUN apt-get update && apt-get install --yes nodejs npm && npm install --global yarn
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
ENV GO111MODULE=on
|
||||
RUN make download-tools install generate build-bin-local
|
||||
|
||||
FROM scratch
|
||||
WORKDIR /opt/traggo
|
||||
COPY --from=builder /app/build/traggo-server /opt/traggo/traggo
|
||||
EXPOSE 3030
|
||||
ENTRYPOINT ["./traggo"]
|
||||
Reference in New Issue
Block a user