modified dockerfiles
This commit is contained in:
@@ -2,9 +2,8 @@ FROM rust:1.88.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./public ./public
|
||||
COPY ./cache ./cache
|
||||
# COPY ./storage ./storage
|
||||
COPY ./backend/public ./public
|
||||
COPY ./backend/cache ./cache
|
||||
|
||||
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
||||
|
||||
|
@@ -2,9 +2,9 @@ FROM rust:1.88.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./task ./task
|
||||
COPY ./cache ./cache
|
||||
COPY ./storage ./storage
|
||||
COPY ./backend/task ./task
|
||||
COPY ./backend/cache ./cache
|
||||
COPY ./backend/storage ./storage
|
||||
|
||||
RUN mkdir /app/posts
|
||||
RUN cargo build --release --manifest-path ./task/Cargo.toml
|
||||
|
Reference in New Issue
Block a user