f9ee6240c3
Build and Deploy / build-and-deploy (push) Failing after 1m39s
- Dockerfile: production image for roux-server (Debian slim, tini, binary) - docker-compose.yml: production compose with recipe/data volume mounts - .gitea/workflows/deploy.yaml: Gitea Actions pipeline that builds, tests, pushes Docker image, and deploys via SSH Follows the same pattern used by the Atlas project.
23 lines
648 B
Docker
23 lines
648 B
Docker
FROM debian:bookworm-slim
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates curl tini && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Build timestamp — read at runtime for diagnostics.
|
|
RUN mkdir -p /build && date -u '+%Y-%m-%d %H:%M UTC' > /build/build-time
|
|
|
|
ADD roux-server /usr/local/bin/roux-server
|
|
|
|
RUN chmod +x /usr/local/bin/roux-server
|
|
|
|
ENTRYPOINT ["/usr/bin/tini", "-s", "--"]
|
|
|
|
# Recipes are mounted at /recipes at runtime via docker-compose volume mount.
|
|
RUN mkdir /recipes
|
|
WORKDIR /recipes
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["/usr/local/bin/roux-server", "--host", "0.0.0.0", "--port", "8080", "--recipe-dir", "/recipes"]
|