This commit is contained in:
@@ -3,6 +3,7 @@ FROM golang:1.22-alpine AS builder
|
|||||||
|
|
||||||
# Define the base directory for the application as an environment variable
|
# Define the base directory for the application as an environment variable
|
||||||
ENV SERVER_DIR=/openim-server
|
ENV SERVER_DIR=/openim-server
|
||||||
|
ENV GOWORK=off
|
||||||
|
|
||||||
# Set the working directory inside the container based on the environment variable
|
# Set the working directory inside the container based on the environment variable
|
||||||
WORKDIR $SERVER_DIR
|
WORKDIR $SERVER_DIR
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -24,8 +24,6 @@ require (
|
|||||||
gopkg.in/yaml.v3 v3.0.1
|
gopkg.in/yaml.v3 v3.0.1
|
||||||
)
|
)
|
||||||
|
|
||||||
replace git.imall.cloud/openim/protocol => ../protocol
|
|
||||||
|
|
||||||
require github.com/google/uuid v1.6.0
|
require github.com/google/uuid v1.6.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
|||||||
Reference in New Issue
Block a user