Skip to content

Commit

Permalink
Only move the cargo.toml and the package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhuyn committed Sep 18, 2024
1 parent 296196f commit f135504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN cargo install wasm-pack
WORKDIR /cubeway

# Copy the Rust manifest files into the container
COPY cubeway/Cargo.toml cubeway/Cargo.lock ./
COPY cubeway/Cargo.toml ./

# Copy the Rust source code into the container
COPY cubeway/src ./src
Expand All @@ -23,7 +23,7 @@ FROM node:16-alpine AS frontend
WORKDIR /app

# Copy package.json and package-lock.json into the container
COPY app/package*.json ./
COPY app/package.json ./

# Install npm dependencies
RUN npm ci
Expand Down

0 comments on commit f135504

Please sign in to comment.