diff --git a/Dockerfile b/Dockerfile index 06535c1..4ad5dda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,6 @@ RUN CGO_ENABLED=0 go build -o bin/realtime /app/cmd/api/main.go FROM gcr.io/distroless/base-debian11 as runnable COPY --from=build /app/bin/realtime / -COPY --from=build /app/web /web EXPOSE 8080 diff --git a/Makefile b/Makefile index 68a3e4f..ae15b1c 100644 --- a/Makefile +++ b/Makefile @@ -5,3 +5,6 @@ build: run: @go build -o bin/realtime cmd/api/main.go @./bin/realtime + +artillery: + artillery run tests/artillery.yaml --output tests/artifacts.json diff --git a/tests/artillery.sh b/tests/artillery.sh deleted file mode 100755 index 31bb673..0000000 --- a/tests/artillery.sh +++ /dev/null @@ -1,5 +0,0 @@ -docker-compose up -d - -artillery run "artillery.yaml" --output tests/artifacts/report.json - -docker-compose down \ No newline at end of file