added dockerfiles

for building the stuff
This commit is contained in:
wymiller committed 2025-07-19 00:44:28 -04:00
1 parent 6eea6724bf
commit 79cc4caa58
3 files changed
+44

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
FROM rust:1.88.0
WORKDIR /app
COPY ./task ./task
COPY ./cache ./cache
COPY ./storage ./storage
RUN mkdir /app/posts
RUN cargo build --release --manifest-path ./task/Cargo.toml
EXPOSE 3000
CMD ['cargo', 'run', '--manifest-path', '/app/task/Cargo.toml']