Fix Go build command to specify package path

This commit is contained in:
Andreas Dueren
2025-06-16 11:27:25 -06:00
parent 458eba1d56
commit 489e36346a

View File

@ -24,7 +24,7 @@ WORKDIR /app/code
# Download and build mautrix-whatsapp
RUN git clone https://github.com/mautrix/whatsapp.git . \
&& go build -o /app/pkg/mautrix-whatsapp
&& go build -o /app/pkg/mautrix-whatsapp ./cmd/mautrix-whatsapp
# Copy startup script
COPY start.sh /app/pkg/