refactor
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2024-12-30 21:52:48 +01:00
parent 5ba1b3efa6
commit 69a9eb4d9d
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -1,15 +1,15 @@
FROM rust:buster as builder FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN rustup default nightly RUN rustup default nightly
RUN cargo build --release
RUN git clone "https://github.com/Y2Z/monolith" /monolith RUN git clone "https://github.com/Y2Z/monolith" /monolith
WORKDIR /monolith WORKDIR /monolith
RUN cargo build --release RUN cargo build --release
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM debian:buster FROM debian:buster
RUN apt-get update && apt-get upgrade -y RUN apt-get update && apt-get upgrade -y