File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build \
16
16
main.go
17
17
18
18
RUN CGO_ENABLED=0 GOOS=js GOARCH=wasm GO111MODULE=on go build \
19
- -a -o _output/main .wasm \
19
+ -a -o _output/csdemoparser .wasm \
20
20
-gcflags all=-trimpath=/ \
21
21
-asmflags all=-trimpath=/ \
22
22
cmd/wasm/wasm.go
@@ -46,7 +46,7 @@ FROM debian:bookworm-slim
46
46
RUN apt-get update && apt-get install -y ca-certificates
47
47
48
48
COPY --from=builder_go /csgo-2d-demo-player/_output/main /csgo-2d-demo-player/
49
- # COPY --from=builder_go /csgo-2d-demo-player/_output/main .wasm /csgo-2d-demo-player/web/public
49
+ COPY --from=builder_go /csgo-2d-demo-player/_output/csdemoparser .wasm /csgo-2d-demo-player/web/dist/wasm/
50
50
COPY --from=builder_npm /csgo-2d-demo-player/web/dist/assets/. /csgo-2d-demo-player/assets/
51
51
COPY --from=builder_npm /csgo-2d-demo-player/web/dist/wasm/. /csgo-2d-demo-player/web/dist/wasm/
52
52
COPY --from=builder_npm /csgo-2d-demo-player/web/dist/ /csgo-2d-demo-player/web/dist/
You can’t perform that action at this time.
0 commit comments