mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 21:02:11 +08:00
refactor
This commit is contained in:
parent
2593d255c8
commit
584fbafc3a
@ -10,10 +10,9 @@ ENV GOPROXY=https://goproxy.cn,direct
|
|||||||
# Copy all files from the current directory into the container
|
# Copy all files from the current directory into the container
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Execute the script and build command, including downloading mage
|
RUN go install github.com/magefile/mage@latest
|
||||||
RUN chmod +x ./bootstrap.sh && \
|
|
||||||
./bootstrap.sh && \
|
RUN mage -v && mage build
|
||||||
mage build
|
|
||||||
|
|
||||||
# Use Alpine Linux as the final base image due to its small size and included utilities
|
# Use Alpine Linux as the final base image due to its small size and included utilities
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user