kiki/Dockerfile

16 lines
No EOL
357 B
Docker

FROM golang:1.24
WORKDIR /app/kiki
RUN mkdir /app/kiki/config /app/kiki/service /app/kiki/stacker /app/kiki/tooter
COPY config/* /app/kiki/config
COPY service/* /app/kiki/service
COPY stacker/* /app/kiki/stacker
COPY tooter/* /app/kiki/tooter
RUN cd service && go mod tidy && cd ../
RUN go build -C ./service -o ../kiki
CMD [ "/app/kiki/kiki", "run" ]