Skip to content

Commit

Permalink
Merge branch 'development_fl_server' of github.com:threefoldtech/rfs …
Browse files Browse the repository at this point in the history
…into development_support_conversion_progress
  • Loading branch information
rawdaGastan committed Aug 28, 2024
2 parents f867407 + 3d4f18a commit bc0da21
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM rust:slim

RUN apt-get update && apt-get install curl build-essential libssl-dev musl-tools -y

WORKDIR /myapp

COPY . .

RUN rustup target add x86_64-unknown-linux-musl
RUN cargo build --release --target=x86_64-unknown-linux-musl

CMD ["/myapp/target/x86_64-unknown-linux-musl/release/fl-server", "--config-path", "config.toml"]
EXPOSE 3000
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
fl-server:
build: .
ports:
# <HOST_PORT>:<CONTAINER_PORT>
- 3000:3000

0 comments on commit bc0da21

Please sign in to comment.