1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-24 03:46:37 +02:00
kratos/examples/traces/Dockerfile
包子 e2031dcfe6
remove example/traces/go.mod (#940)
modify dockerfile
modify the build process
2021-05-22 13:41:16 +08:00

16 lines
366 B
Docker

FROM debian:stable-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
netbase \
&& rm -rf /var/lib/apt/lists/ \
&& apt-get autoremove -y && apt-get autoclean -y
COPY ./app/message/bin /app
COPY ./app/user/bin /app
COPY ./service.sh /app
EXPOSE 8000
EXPOSE 9000
ENTRYPOINT ["sh","/app/service.sh"]