Skip to content

Commit 133880b

Browse files
committed
[Zig/Httpz] update dockerfile 5
1 parent 25ed445 commit 133880b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

frameworks/Zig/httpz/httpz.dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eloitor/zig:0.13.0 AS build
1+
FROM eloitor/zig:0.13.0
22

33
ENV PG_USER=benchmarkdbuser
44
ENV PG_PASS=benchmarkdbpass
@@ -14,12 +14,8 @@ COPY build.zig build.zig
1414

1515
RUN zig build -Doptimize=ReleaseFast
1616

17-
FROM ubuntu:24.04
18-
1917
RUN apt-get update && apt-get install -y ca-certificates
2018

21-
COPY --from=build /app/zig-out/bin/httpz /server
22-
2319
EXPOSE 3000
2420

25-
CMD ["/server"]
21+
CMD ./app/zig-out/bin/httpz

0 commit comments

Comments
 (0)