|
|
@ -11,7 +11,8 @@ RUN ./snekcloud-server generate-key private_key
|
|
|
|
RUN timeout 1s ./snekcloud-server || exit 0
|
|
|
|
RUN timeout 1s ./snekcloud-server || exit 0
|
|
|
|
RUN cp config/00_default.toml config/10_local.toml
|
|
|
|
RUN cp config/00_default.toml config/10_local.toml
|
|
|
|
|
|
|
|
|
|
|
|
FROM scratch
|
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
RUN apk add --no-cache build-base
|
|
|
|
COPY --from=builder /usr/src/snekcloud-server/target/release/snekcloud-server .
|
|
|
|
COPY --from=builder /usr/src/snekcloud-server/target/release/snekcloud-server .
|
|
|
|
COPY --from=builder /usr/src/snekcloud-server/target/release/config /
|
|
|
|
COPY --from=builder /usr/src/snekcloud-server/target/release/config /
|
|
|
|
COPY --from=builder /usr/src/snekcloud-server/target/release/private_key /
|
|
|
|
COPY --from=builder /usr/src/snekcloud-server/target/release/private_key /
|
|
|
|