Add Dockerfile

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/1/head
trivernis 4 years ago
parent 3a1e965b98
commit cee9e3c030
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -0,0 +1,8 @@
.idea
.git
.env
.gitignore
*.md
target
Dockerfile
docker-compose.yaml

@ -0,0 +1,7 @@
FROM rust:alpine
COPY . .
RUN apk add --no-cache libgcc musl-dev
RUN cargo install --path .
EXPOSE 8080
EXPOSE 5000
ENTRYPOINT ["/usr/local/cargo/bin/flotte-user-management"]
Loading…
Cancel
Save