few more deplomyent things
This commit is contained in:
+2
-3
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user