ghost-listmonk-connector/Dockerfile
troneras ff5b39241a first commit
fixed cache

Refactoring from app router to page router

Refactoring from app router to page router

Add authentication with JWT

base ui done

protect the dashboard

added transitions

styling

type trick added

cleanup

Add enable-disable logic

add transactional emails

Improvements on delay and frontend

added description on select

implement auth with magic link

migrate to mariadb

webhook signature working

Adding async processing with queues

Implemented webhook reply functionality

Add son execution logs

update status logic

Add recent activity monitoring to sons

show son performance in dashboard

add readme

implement listmonk connector

listmonk-connector-v1

Create CODE_OF_CONDUCT.md

Create LICENSE
2024-08-21 02:09:24 +02:00

30 lines
No EOL
617 B
Docker

# Build the Next.js app
FROM node:20.10.0 AS nextjs-builder
WORKDIR /app
COPY ui/ ./
RUN npm ci
RUN npm run build
# Build the Go app
FROM golang:1.21.6 AS go-builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o main .
# Final stage
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y ca-certificates nodejs npm && rm -rf /var/lib/apt/lists/*
WORKDIR /root/
COPY --from=go-builder /app/main .
COPY --from=nextjs-builder /app .
COPY start.sh .
ENV GIN_MODE=release
ENV NODE_ENV=production
EXPOSE 8808 3000
CMD ["./start.sh"]