- deployer container polls git, builds api/worker/web, runs migrations+seed, starts ff-api/ff-worker/ff-web + nginx TLS reverse proxy against external Postgres (10.0.0.15) - Dockerfile.web: drop missing packages/ui package, add NEXT_PUBLIC_API_URL arg - add root .dockerignore (build context cleanup)
18 lines
333 B
Docker
18 lines
333 B
Docker
FROM alpine:3.21
|
|
|
|
RUN apk add --no-cache \
|
|
docker-cli \
|
|
git \
|
|
bash \
|
|
openssl \
|
|
curl \
|
|
coreutils \
|
|
findutils \
|
|
ca-certificates \
|
|
tzdata
|
|
|
|
COPY deploy.sh /usr/local/bin/deploy.sh
|
|
COPY nginx.conf /etc/fleetforge/nginx.conf
|
|
RUN chmod +x /usr/local/bin/deploy.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/deploy.sh"] |