mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 06:16:18 +00:00
cough
This commit is contained in:
parent
1a907bc8d0
commit
fb7c7c4c0a
1 changed files with 3 additions and 2 deletions
|
@ -2,11 +2,12 @@ FROM cgr.dev/chainguard/wolfi-base AS base
|
|||
WORKDIR /usr/src/app
|
||||
RUN apk add --no-cache libgcc
|
||||
|
||||
FROM docker.io/rust:1.76 as rs-build
|
||||
# RUN apt-get update && apt-get install -y libsqlite3-dev && rm -rf /var/lib/apt/lists/*
|
||||
FROM docker.io/rust:1 as rs-build
|
||||
RUN apt-get update && apt-get install -y libsqlite3-dev sqlite3 && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . .
|
||||
RUN sqlite ../sqlite.db ''
|
||||
RUN --mount=type=cache,sharing=locked,target=/root/.cargo/git \
|
||||
--mount=type=cache,sharing=locked,target=/root/.cargo/registry \
|
||||
--mount=type=cache,sharing=locked,target=/usr/src/app/target \
|
||||
|
|
Loading…
Reference in a new issue