Skip to content

Commit a8f0387

Browse files
committed
try again
Signed-off-by: Kingdon Barrett <[email protected]>
1 parent e183b42 commit a8f0387

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Dockerfile

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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"]

0 commit comments

Comments
 (0)