|
@@ -13,15 +13,15 @@ FROM alpine:3.13
|
|
|
# 把编译环境中编译好的 chat 复制到生产镜像中的 bin/chat 文件名称 不是目录
|
|
|
#COPY --from=builder /go/bin/chat /bin/chat
|
|
|
# /chat 放到根目录
|
|
|
-COPY --from=builder /go/bin/server /server
|
|
|
+COPY --from=builder /go/bin/web /server
|
|
|
COPY --from=builder /go/src/construction_management/server/config-debug.yaml /config-debug.yaml
|
|
|
COPY --from=builder /go/src/construction_management/server/config-uat.yaml /config-uat.yaml
|
|
|
COPY --from=builder /go/src/construction_management/server/config-pro.yaml /config-pro.yaml
|
|
|
RUN mkdir -p /lib
|
|
|
COPY --from=builder /go/src/construction_management/server/lib/*.json /lib/
|
|
|
|
|
|
-RUN chmod 777 /construction_management/lib/*.json
|
|
|
-RUN chmod 777 /construction_management
|
|
|
+RUN chmod 777 /lib/*.json
|
|
|
+RUN chmod 777 /server
|
|
|
RUN chmod 777 /config-debug.yaml
|
|
|
RUN chmod 777 /config-uat.yaml
|
|
|
RUN chmod 777 /config-pro.yaml
|