1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 05:47:03 +09:00

Dockerfile fixed make

Makefile added "build"
This commit is contained in:
Grigory Efimov 2023-05-12 18:01:27 +03:00
parent 12ce5bb07f
commit 230a8f2d09
2 changed files with 6 additions and 2 deletions

View file

@ -17,6 +17,6 @@ RUN --mount=type=ssh go mod download
COPY ${REPO_DIR} .
# build
RUN --mount=type=ssh make deps
RUN --mount=type=ssh make build
RUN --mount=type=ssh make deps CGO_ENABLED=0
RUN --mount=type=ssh make build CGO_ENABLED=0
RUN rsync -a bin/ /bin/

View file

@ -28,6 +28,10 @@ pull:
down:
docker compose down
# build with "plain" log for debug
build:
docker compose build --no-cache --progress plain
restart: stop start
update: stop pull start
upgrade: stop clean start