content: # Build stage
  FROM rust:1.69-buster as builder
  
  WORKDIR /app
  
  ARG DATABASE_URL
  
  ENV DATABASE_URL=$DATABASE_URL
  
  COPY . .
  
  RUN cargo build --release
  
  #Preduction stage
  FROM debian:buster-slim
  
  WORKDIR /user/local/bin
  
  COPY --from=builder /app/target/release/backend .
  
  CMD [ "./backend" ]