mirror of
https://github.com/Noratrieb/killjoy-turret.git
synced 2026-03-14 18:16:04 +01:00
14 lines
No EOL
330 B
Docker
14 lines
No EOL
330 B
Docker
FROM rust:alpine3.15 as build
|
|
WORKDIR /app
|
|
COPY . ./
|
|
RUN cargo build --release
|
|
|
|
FROM alpine:latest
|
|
COPY --from=build /app/target/release/killjoy_turret /usr/local/bin/killjoy_turret
|
|
|
|
COPY ./config.json /app/config.json
|
|
COPY ./entrypoint.sh /app/entrypoint.sh
|
|
|
|
ENV CONFIG_PATH=/app/config.json
|
|
|
|
ENTRYPOINT ["sh", "./entrypoint.sh"] |