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 committed by Mikhail Iudin
parent f29fad95e2
commit d69ef86b46
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
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} . COPY ${REPO_DIR} .
# build # build
RUN --mount=type=ssh make deps RUN --mount=type=ssh make deps CGO_ENABLED=0
RUN --mount=type=ssh make build RUN --mount=type=ssh make build CGO_ENABLED=0
RUN rsync -a bin/ /bin/ RUN rsync -a bin/ /bin/

View file

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