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 3191cbc commit 9c6ec84Copy full SHA for 9c6ec84
.dockerignore
@@ -1,2 +1,2 @@
1
-# plugin.wasm
+plugin.wasm
2
assets/
Dockerfile
@@ -1,13 +1,13 @@
-# FROM tinygo/tinygo:0.36.0 AS builder
+FROM tinygo/tinygo:0.36.0 AS builder
3
-# WORKDIR /app
4
-# COPY go.mod .
5
-# COPY go.sum .
6
-# RUN go mod download
7
-# COPY . .
8
-# ARG BUILDVCS=false
9
-# ENV GOFLAGS="-buildvcs=${BUILDVCS}"
10
-# RUN GOOS=wasip1 GOARCH=wasm tinygo build -o /app/plugin.wasm -target=wasi .
+WORKDIR /app
+COPY go.mod .
+COPY go.sum .
+RUN go mod download
+COPY . .
+ARG BUILDVCS=false
+ENV GOFLAGS="-buildvcs=${BUILDVCS}"
+RUN GOOS=wasip1 GOARCH=wasm tinygo build -o /app/plugin.wasm -target=wasi .
11
12
13
FROM scratch
0 commit comments