few more deplomyent things
This commit is contained in:
parent
bfb0eae32c
commit
0268a4be06
@ -1,6 +1,7 @@
|
||||
# Rust build artifacts
|
||||
target/
|
||||
**/*.rs.bk
|
||||
Cargo.lock # Let Docker resolve dependencies fresh
|
||||
|
||||
# Node.js
|
||||
web/node_modules/
|
||||
|
@ -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 ./
|
||||
|
Loading…
x
Reference in New Issue
Block a user