Fix Go build command to specify package path
This commit is contained in:
@ -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/
|
||||
|
Reference in New Issue
Block a user