Browse Source

misc: prepare master branch

dev
meeg_leeto 3 weeks ago
parent
commit
fbeee0342d
  1. 2
      Dockerfile
  2. 2
      docker-compose.yml

2
Dockerfile

@ -19,7 +19,7 @@ RUN rm ./target/${PROFILE:-release}/deps/lonk* @@ -19,7 +19,7 @@ RUN rm ./target/${PROFILE:-release}/deps/lonk*
RUN cargo build
# Execution container
FROM rust:latest
FROM rust:slim
WORKDIR /
ARG PROFILE
COPY --from=builder /lonk/target/${PROFILE:-release}/lonk /bin/lonk

2
docker-compose.yml

@ -6,7 +6,7 @@ services: @@ -6,7 +6,7 @@ services:
build:
context: .
args:
PROFILE: debug
PROFILE: release
environment:
- LONK_CONFIG=/data/config.json
volumes:

Loading…
Cancel
Save