From 261f2db20a35ef75b6ea964b6ca6f2dc6f98b368 Mon Sep 17 00:00:00 2001 From: "kim.dev.6789" Date: Thu, 15 Jan 2026 15:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=89=88=E6=9C=AC=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + go.mod | 2 -- go.work | 6 ++++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 go.work diff --git a/Dockerfile b/Dockerfile index 8a95b68..367269f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM golang:1.22-alpine AS builder # Define the base directory for the application as an environment variable ENV SERVER_DIR=/openim-server +ENV GOWORK=off # Set the working directory inside the container based on the environment variable WORKDIR $SERVER_DIR diff --git a/go.mod b/go.mod index 12cbd85..fa0d22f 100644 --- a/go.mod +++ b/go.mod @@ -24,8 +24,6 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) -replace git.imall.cloud/openim/protocol => ../protocol - require github.com/google/uuid v1.6.0 require ( diff --git a/go.work b/go.work new file mode 100644 index 0000000..a3b5124 --- /dev/null +++ b/go.work @@ -0,0 +1,6 @@ +go 1.22.7 + +use ( + . + ../protocol +)