Добавлено отслеживание изменений в конфиге. Посмотрим как будет работать
This commit is contained in:
parent
1de14cdae1
commit
66afe8eac7
5 changed files with 55 additions and 3 deletions
|
|
@ -2,15 +2,16 @@ FROM golang:1.24
|
|||
|
||||
WORKDIR /app/kiki
|
||||
|
||||
RUN mkdir /app/kiki/config /app/kiki/service /app/kiki/stacker /app/kiki/tooter
|
||||
RUN mkdir /app/kiki/config /app/kiki/service /app/kiki/stacker /app/kiki/tooter /app/kiki/file_watcher
|
||||
|
||||
COPY config/* /app/kiki/config
|
||||
COPY service/* /app/kiki/service
|
||||
COPY stacker/* /app/kiki/stacker
|
||||
COPY tooter/* /app/kiki/tooter
|
||||
COPY file_watcher/* /app/kiki/file_watcher
|
||||
|
||||
RUN cd service && go mod tidy && cd ../
|
||||
COPY Makefile /app/kiki/
|
||||
|
||||
RUN go build -C ./service -o ../kiki
|
||||
RUN make
|
||||
|
||||
CMD [ "/app/kiki/kiki", "run" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue