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:
matrix:
include:
- dockerfile: Dockerfile
- dockerfile: public/Dockerfile
image: mywebsite-public
context: ./backend/public
- dockerfile: Dockerfile
context: ./backend
- dockerfile: task/Dockerfile
image: mywebsite-task
context: ./backend/task
context: ./backend
- dockerfile: Dockerfile
image: mywebsite-frontend
context: ./frontend

View File

@@ -2,8 +2,8 @@ FROM rust:1.88.0
WORKDIR /app
COPY ./public /app/public
COPY ../cache /app/cache
COPY ./public ./public
COPY ./cache ./cache
RUN cargo build --release --manifest-path ./public/Cargo.toml

View File

@@ -2,9 +2,9 @@ FROM rust:1.88.0
WORKDIR /app
COPY ./task /app/task
COPY ../cache /app/cache
COPY ../storage /app/storage
COPY ./task ./task
COPY ./cache ./cache
COPY ./storage ./storage
RUN mkdir /app/posts
RUN cargo build --release --manifest-path ./task/Cargo.toml