We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57623ac commit cfb6e7aCopy full SHA for cfb6e7a
1 file changed
Dockerfile
@@ -9,11 +9,14 @@ RUN apt-get update && apt-get install -y \
9
libssl-dev \
10
&& rm -rf /var/lib/apt/lists/*
11
12
+
13
+RUN rustup toolchain install nightly && rustup default nightly
14
15
# Create app directory
16
WORKDIR /app
17
18
# Copy manifests
-COPY Cargo.toml ./
19
+COPY Cargo.toml Cargo.lock ./
20
21
# Copy source code
22
COPY src ./src
@@ -22,7 +25,7 @@ COPY .sqlx ./.sqlx
25
COPY sql_models ./sql_models
23
26
24
27
# Build the application in release mode
-RUN cargo build --release
28
+RUN cargo build --release
29
# ============================================
30
# Runtime Stage
31
0 commit comments