mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-01-02 21:46:28 +00:00
Minor Dockerfile fixes
This commit is contained in:
parent
8a5f667ff6
commit
7213e6c690
@ -13,13 +13,13 @@ RUN pnpm run build
|
|||||||
# BACKEND
|
# BACKEND
|
||||||
FROM rust:1.76-alpine as backend
|
FROM rust:1.76-alpine as backend
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN apk add libc-dev openssl-dev alpine-sdk
|
RUN apk add --no-cache libc-dev openssl-dev alpine-sdk
|
||||||
COPY ./packages/backend ./
|
COPY ./packages/backend ./
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
|
|
||||||
# RUNNER
|
# RUNNER
|
||||||
FROM alpine
|
FROM alpine:3.19
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl
|
||||||
COPY --from=backend /tmp/target/release/cryptgeon .
|
COPY --from=backend /tmp/target/release/cryptgeon .
|
||||||
|
Loading…
Reference in New Issue
Block a user