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 # Rust build artifacts
target/ target/
**/*.rs.bk **/*.rs.bk
Cargo.lock # Let Docker resolve dependencies fresh
# Node.js # Node.js
web/node_modules/ web/node_modules/

View File

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