third pass of ci

This commit is contained in:
2025-07-19 01:51:09 -04:00
parent a83c13a214
commit 3539ceced3
3 changed files with 8 additions and 8 deletions

View File

@@ -23,13 +23,13 @@ jobs:
include:
- dockerfile: Dockerfile
image: mywebsite-public
context: .
context: ./backend/public
- dockerfile: Dockerfile
image: mywebsite-task
context: .
context: ./backend/task
- dockerfile: Dockerfile
image: mywebsite-frontend
context: .
context: ./frontend
steps:
- name: Checkout repository

View File

@@ -2,8 +2,8 @@ FROM rust:1.88.0
WORKDIR /app
COPY ./backend/public ./public
COPY ./backend/cache ./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 ./backend/task ./task
COPY ./backend/cache ./cache
COPY ./backend/storage ./storage
COPY ./task ./task
COPY ../cache ./cache
COPY ../storage ./storage
RUN mkdir /app/posts
RUN cargo build --release --manifest-path ./task/Cargo.toml