From c8431281d7583b0be20ae1e6207c9d94a245c9b4 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 22 Jun 2024 18:08:18 +0800 Subject: [PATCH] :bug: Fix dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba67dee..66b231e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,9 @@ # Building Backend FROM golang:alpine as messaging-server -RUN apk add nodejs npm - WORKDIR /source COPY . . -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/main.go +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/main.go # Runtime FROM golang:alpine