Original Files
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal 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
11
docker-compose.yml
Normal 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
BIN
tinyice-linux-amd64
Normal file
Binary file not shown.
Reference in New Issue
Block a user