mirror of
https://github.com/chancehudson/freedit-docker.git
synced 2026-01-09 18:17:55 -05:00
initial commit
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
.DS_Store
|
||||
*.swp
|
||||
*.tmp
|
||||
|
||||
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM rust:1-slim-bookworm as builder
|
||||
MAINTAINER chancehudson
|
||||
|
||||
RUN apt update && apt install -y git build-essential
|
||||
RUN git clone https://github.com/freedit-org/freedit.git /tmp/freedit
|
||||
|
||||
WORKDIR /tmp/freedit
|
||||
|
||||
RUN cargo build -r
|
||||
|
||||
FROM rust:1-slim-bookworm
|
||||
COPY --from=builder /tmp/freedit/target/release/freedit /usr/local/bin/freedit
|
||||
Reference in New Issue
Block a user