9 lines
336 B
Docker
9 lines
336 B
Docker
|
|
# simpleasm — asm.famzheng.me
|
||
|
|
# Build context = repo root(同 cube),所以路径都是 apps/simpleasm/...
|
||
|
|
# Rust + frontend 都在 host 上 build,容器只是拼装。
|
||
|
|
FROM scratch
|
||
|
|
COPY target/x86_64-unknown-linux-musl/release/simpleasm /simpleasm
|
||
|
|
COPY apps/simpleasm/frontend/dist /dist
|
||
|
|
EXPOSE 8080
|
||
|
|
ENTRYPOINT ["/simpleasm"]
|