Commit b6943d1 1 parent 80fd0e2 commit b6943d1 Copy full SHA for b6943d1
File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
- # # FROM --platform=${BUILDPLATFORM}
2
- # FROM --platform=linux/arm64 golang:1.21.3-bullseye AS build-go
3
- # WORKDIR /opt/build
4
- # COPY spin.toml .
5
- # RUN curl -LO https://github.com/fermyon/spin-fileserver/releases/download/v0.2.1/spin_static_fs.wasm
6
- # RUN mkdir website
7
- # COPY website/public/ website/public/
8
- #
9
- # FROM scratch
10
- # COPY --from=build-go /opt/build/spin_static_fs.wasm .
11
- # COPY --from=build-go /opt/build/spin.toml .
12
- # COPY --from=build-go /opt/build/website .
13
- # ENTRYPOINT ["/spin.toml"]
1
+ # FROM --platform=${BUILDPLATFORM}
2
+ FROM --platform=linux/arm64 golang:1.21.3-bullseye AS build-go
3
+ WORKDIR /opt/build
4
+ COPY spin.toml .
5
+ RUN curl -LO https://github.com/fermyon/spin-fileserver/releases/download/v0.2.1/spin_static_fs.wasm
6
+ RUN mkdir website
7
+ COPY website/public/ website/public/
8
+
9
+ FROM scratch
10
+ COPY --from=build-go /opt/build/spin_static_fs.wasm .
11
+ COPY --from=build-go /opt/build/spin.toml .
12
+ COPY --from=build-go /opt/build/website .
13
+ ENTRYPOINT ["/spin.toml" ]
You can’t perform that action at this time.
0 commit comments