Spaces:
Runtime error
Runtime error
File size: 310 Bytes
d8e17ed f09dd91 d8e17ed f09dd91 910ff44 6a64899 e1f3043 f09dd91 6a64899 e1f3043 f09dd91 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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"]
|