fifth pass at ci

This commit is contained in:
2025-07-19 14:00:47 -04:00
parent b2e22d4b6b
commit 1e77fbfd4d
3 changed files with 9 additions and 9 deletions

View File

@@ -21,12 +21,12 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- dockerfile: Dockerfile - dockerfile: public/Dockerfile
image: mywebsite-public image: mywebsite-public
context: ./backend/public context: ./backend
- dockerfile: Dockerfile - dockerfile: task/Dockerfile
image: mywebsite-task image: mywebsite-task
context: ./backend/task context: ./backend
- dockerfile: Dockerfile - dockerfile: Dockerfile
image: mywebsite-frontend image: mywebsite-frontend
context: ./frontend context: ./frontend

View File

@@ -2,8 +2,8 @@ FROM rust:1.88.0
WORKDIR /app WORKDIR /app
COPY ./public /app/public COPY ./public ./public
COPY ../cache /app/cache COPY ./cache ./cache
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 /app/task COPY ./task ./task
COPY ../cache /app/cache COPY ./cache ./cache
COPY ../storage /app/storage COPY ./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