This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Stop and remove Coolify containers | |
echo "Stopping and removing Coolify containers..." | |
sudo docker stop -t 0 coolify coolify-realtime coolify-db coolify-redis coolify-proxy | |
sudo docker rm coolify coolify-realtime coolify-db coolify-redis coolify-proxy | |
# Remove Docker volumes | |
echo "Removing Coolify Docker volumes..." | |
sudo docker volume rm coolify-db coolify-redis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build stage | |
FROM rust:1.81 as builder | |
WORKDIR /app | |
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true | |
ENV RUSTFLAGS="-C opt-level=0 -C target-feature=+lse -C target-cpu=native" | |
COPY . . |