fix: Dockerfile2
This commit is contained in:
parent
4816324277
commit
9702f2e79b
|
|
@ -33,8 +33,9 @@ RUN echo 'http://mirrors.ustc.edu.cn/alpine/v3.5/main' > /etc/apk/repositories \
|
||||||
#ADD ./sh/supervisord.conf /etc/supervisord.conf
|
#ADD ./sh/supervisord.conf /etc/supervisord.conf
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ../.. .
|
COPY cmd/api/yl /src/yl
|
||||||
|
COPY cmd/api/config/config.yaml /src/cmd/api/config/config.yaml
|
||||||
|
|
||||||
EXPOSE 10102
|
EXPOSE 10102
|
||||||
#CMD ["sh","/opt/startup.sh"]
|
#CMD ["sh","/opt/startup.sh"]
|
||||||
ENTRYPOINT ["/src/cmd/api/yl"]
|
ENTRYPOINT ["./yl"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue