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"]
|
||||
Reference in New Issue
Block a user