added dockerfiles
for building the stuff
This commit is contained in:
1 parent
6eea6724bf
commit
79cc4caa58
3 files changed
+44
No files matched your search
@@ -0,0 +1,13 @@
|
||||
FROM rust:1.88.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./public ./public
|
||||
COPY ./cache ./cache
|
||||
# COPY ./storage ./storage
|
||||
|
||||
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ['cargo', 'run', '--manifest-path', '/app/public/Cargo.toml']
|
||||
Reference in new issue
Block a user