Commit 8b52d481 authored by focus's avatar focus

fixed

parent dbb683b7
...@@ -16,7 +16,7 @@ RUN \ ...@@ -16,7 +16,7 @@ RUN \
mkdir /opt/mycat && \ mkdir /opt/mycat && \
tar zxvf Mycat-server-$MYCAT_VERSION-linux.tar.gz -C /opt && \ tar zxvf Mycat-server-$MYCAT_VERSION-linux.tar.gz -C /opt && \
rm -rf /opt/mycat/conf rm -rf /opt/mycat/conf
# Add src # Add src
ADD conf /opt/mycat/conf ADD conf /opt/mycat/conf
...@@ -26,10 +26,8 @@ VOLUME ["/opt/mycat/conf"] ...@@ -26,10 +26,8 @@ VOLUME ["/opt/mycat/conf"]
# Expose ports. # Expose ports.
EXPOSE 8066 EXPOSE 8066
# Define working directory. # Define working directory.
WORKDIR /opt/mycat/bin WORKDIR /opt/mycat/bin
# Define default command. # Define default command.
CMD ["mycat","start"] CMD ["./mycat","start"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment