duckduck / Dockerfile
sfun's picture
Create Dockerfile
fd251c6 verified
raw
history blame
304 Bytes
FROM ghcr.io/aurora-develop/duck2api:latest as builder
FROM --platform=$BUILDPLATFORM caddy:alpine AS runner
WORKDIR /app
COPY --from=builder /app/duck2api ./duck2api
COPY Caddyfile ./Caddyfile
RUN chmod 777 -R /app
EXPOSE 3000
CMD ["sh", "-c", "caddy run --config /app/Caddyfile & /app/duck2api"]