修复连接

This commit is contained in:
qiyunfanbo126.com 2025-01-17 15:06:59 +08:00
parent a4fdcb89a3
commit 6e9445b89f
1 changed files with 16 additions and 0 deletions

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM registry.cn-chengdu.aliyuncs.com/lansexiongdi/work:v1
RUN echo 'http://mirrors.ustc.edu.cn/alpine/v3.5/main' > /etc/apk/repositories \
&& echo 'http://mirrors.ustc.edu.cn/alpine/v3.5/community' >>/etc/apk/repositories \
&& apk update && apk add tzdata \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
ARG APP_RELATIVE_PATH
WORKDIR /app
COPY /${APP_RELATIVE_PATH}/bin /app
COPY ./server /app
EXPOSE 8000
CMD ["./server"]