Skip to content

Commit 59b8d65

Browse files
committed
chore: updated docker build script to use buildx and fixed Dockerfile
1 parent f968515 commit 59b8d65

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USER root
55
WORKDIR /app
66

77
COPY /api ./api
8-
COPY requirements.txt .
8+
COPY pyproject.toml .
99
COPY Makefile .
1010

1111
RUN apt-get update && apt-get install -y git make

scripts/docker_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import api
55

66
os.system(
7-
f"docker build -t devgoldy/aghpb_api:{api.__version__} --build-arg ARCH=amd64 ."
7+
f"docker buildx build -t devgoldy/aghpb_api:{api.__version__} --build-arg ARCH=amd64 ."
88
)
99

1010
os.system(
11-
"docker build -t devgoldy/aghpb_api:latest --build-arg ARCH=amd64 ."
11+
"docker buildx build -t devgoldy/aghpb_api:latest --build-arg ARCH=amd64 ."
1212
)

0 commit comments

Comments
 (0)