few more deplomyent things
This commit is contained in:
parent
bfb0eae32c
commit
0268a4be06
@ -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/
|
||||||
|
@ -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 ./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user