We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51114af commit 6987d22Copy full SHA for 6987d22
frameworks/Zig/httpz/httpz.dockerfile
@@ -1,6 +1,5 @@
1
FROM eloitor/zig:0.13.0 AS build
2
3
-ARG ZIG_VER=0.13
4
ENV PG_USER=benchmarkdbuser
5
ENV PG_PASS=benchmarkdbpass
6
ENV PG_DB=hello_world
@@ -9,7 +8,9 @@ ENV PG_PORT=5432
9
8
10
WORKDIR /app
11
12
-COPY . .
+COPY src src
+COPY build.zig.zon build.zig.zon
13
+COPY build.zig build.zig
14
15
RUN zig build -Doptimize=ReleaseFast
16
@@ -19,4 +20,6 @@ RUN apt-get update && apt-get install -y ca-certificates
19
20
21
COPY --from=build /app/zig-out/bin/httpz /server
22
23
+EXPOSE 3000
24
+
25
CMD ["/server"]
0 commit comments