modified dockerfiles
This commit is contained in:
1 parent
8f0ba5289a
commit
613adcb4c4
2 files changed
+5
-6
No files matched your search
@@ -2,9 +2,8 @@ FROM rust:1.88.0
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./public ./public
|
COPY ./backend/public ./public
|
||||||
COPY ./cache ./cache
|
COPY ./backend/cache ./cache
|
||||||
# COPY ./storage ./storage
|
|
||||||
|
|
||||||
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ FROM rust:1.88.0
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./task ./task
|
COPY ./backend/task ./task
|
||||||
COPY ./cache ./cache
|
COPY ./backend/cache ./cache
|
||||||
COPY ./storage ./storage
|
COPY ./backend/storage ./storage
|
||||||
|
|
||||||
RUN mkdir /app/posts
|
RUN mkdir /app/posts
|
||||||
RUN cargo build --release --manifest-path ./task/Cargo.toml
|
RUN cargo build --release --manifest-path ./task/Cargo.toml
|
||||||
|
|||||||
Reference in new issue
Block a user