Files
tinyice-docker/Dockerfile
2026-03-03 21:27:50 -05:00

23 lines
506 B
Docker

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"]