modified dockerfiles

This commit is contained in:
2025-07-19 01:28:21 -04:00
parent 8f0ba5289a
commit 613adcb4c4
2 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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