waha-testing / Dockerfile
zenefil's picture
Update Dockerfile
6a64899 verified
FROM golang:1.24-alpine
WORKDIR /app
RUN apk add --no-cache \
git \
chromium \
nss \
freetype \
harfbuzz \
ca-certificates
RUN git clone https://github.com/asternic/wuzapi.git .
RUN go build -o wuzapi
# ⬇️ PENTING
ENV PORT=$PORT
ENV HOST=0.0.0.0
EXPOSE $PORT
CMD ["./wuzapi"]