few more deplomyent things

This commit is contained in:
Thomas Faour 2025-06-22 00:13:19 -04:00
parent bfb0eae32c
commit 0268a4be06
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,7 @@
# Rust build artifacts
target/
**/*.rs.bk
Cargo.lock # Let Docker resolve dependencies fresh
# Node.js
web/node_modules/

View File

@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y \
WORKDIR /app
# Copy Cargo files for dependency caching
COPY Cargo.toml Cargo.lock ./
COPY Cargo.toml ./
COPY build.rs ./
# Create dummy source files to build dependencies
@ -51,14 +51,13 @@ FROM node:18-alpine as frontend-builder
WORKDIR /app/web
# Copy package files for dependency caching
COPY web/package.json web/package-lock.json ./
COPY web/package.json ./
# Install dependencies
RUN npm ci
# Copy source files
COPY web/src ./src
COPY web/public ./public
COPY web/index.html ./
COPY web/vite.config.ts ./
COPY web/tsconfig.json ./