From dc86e33b9ef6a5bbaf1bdc7c87ee3e112db575d5 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 22 Jun 2024 18:08:41 +0800 Subject: [PATCH] :bug: Fix dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16197c0..80edd19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,9 @@ # Building Backend FROM golang:alpine as interactive-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