modified dockerfiles
This commit is contained in:
@@ -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