修复连接
This commit is contained in:
parent
a4fdcb89a3
commit
6e9445b89f
|
@ -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"]
|
Loading…
Reference in New Issue