mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
refactor
This commit is contained in:
parent
65423e656d
commit
4a36a012ed
@ -2,7 +2,7 @@
|
||||
FROM golang:1.21 as builder
|
||||
|
||||
# Define the base directory for the application as an environment variable
|
||||
ENV SERVER_DIR=/openim-chat
|
||||
ENV SERVER_DIR=/openim-server
|
||||
|
||||
# Set the working directory inside the container based on the environment variable
|
||||
WORKDIR $SERVER_DIR
|
||||
@ -29,7 +29,7 @@ FROM alpine:latest
|
||||
# Install necessary packages, such as bash, to ensure compatibility and functionality
|
||||
RUN apk add --no-cache bash
|
||||
|
||||
ENV SERVER_DIR=/openim-chat
|
||||
ENV SERVER_DIR=/openim-server
|
||||
|
||||
# Set the working directory inside the container based on the environment variable
|
||||
WORKDIR $SERVER_DIR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user