更新Dockerfile添加文件执行权限

This commit is contained in:
walker 2024-03-18 18:34:30 +08:00
parent b123e8b921
commit 77991dbbdd

View File

@ -1,5 +1,6 @@
FROM alpine FROM alpine
COPY ./rts-sim-testing-service /usr/local/bin/rts-sim-testing-service COPY ./rts-sim-testing-service /usr/local/bin/rts-sim-testing-service
RUN chmod +x /usr/local/bin/rts-sim-testing-service
WORKDIR /bj-rtsts WORKDIR /bj-rtsts
COPY ./config/*.yml ./ COPY ./config/*.yml ./
CMD [ "rts-sim-testing-service" ] CMD [ "rts-sim-testing-service" ]