misc: prepare master branch
This commit is contained in:
parent
ee7c67dfbf
commit
fbeee0342d
|
@ -19,7 +19,7 @@ RUN rm ./target/${PROFILE:-release}/deps/lonk*
|
||||||
RUN cargo build
|
RUN cargo build
|
||||||
|
|
||||||
# Execution container
|
# Execution container
|
||||||
FROM rust:latest
|
FROM rust:slim
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
ARG PROFILE
|
ARG PROFILE
|
||||||
COPY --from=builder /lonk/target/${PROFILE:-release}/lonk /bin/lonk
|
COPY --from=builder /lonk/target/${PROFILE:-release}/lonk /bin/lonk
|
||||||
|
|
|
@ -6,7 +6,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
PROFILE: debug
|
PROFILE: release
|
||||||
environment:
|
environment:
|
||||||
- LONK_CONFIG=/data/config.json
|
- LONK_CONFIG=/data/config.json
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue