Original Files

This commit is contained in:
minster586
2026-03-03 21:27:50 -05:00
parent 241a9a571c
commit 785cf62757
3 changed files with 33 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM debian:bookworm-slim
# Install CA certificates for HTTPS/SSL
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
# Keep the binary in /app
WORKDIR /app
# Copy your downloaded binary
COPY tinyice-linux-amd64 ./tinyice
# Make sure it's executable
RUN chmod +x ./tinyice
# Create the config folder inside /app
RUN mkdir -p /app/config
# TinyIce default port
EXPOSE 8000
# Run the app
CMD ["./tinyice", "-host", "0.0.0.0", "-config", "/app/config/tinyice.json"]

11
docker-compose.yml Normal file
View File

@@ -0,0 +1,11 @@
version: '3.8'
services:
tinyice:
image: git.smartcraft.me/minster586/tinyice:latest
container_name: tinyice
ports:
- "8000:8000" # You can change the left hand side for the port Just leave the righthand side alone
volumes:
- /host/path/to/the/config:/app/config # You can change the Left hand side of ":" Marker
restart: unless-stopped

BIN
tinyice-linux-amd64 Normal file

Binary file not shown.