Commit dbb683b7 authored by focus's avatar focus

fix

parent a9d8f5d9
......@@ -14,9 +14,9 @@ RUN \
cd /opt && \
wget http://$OSS/$ROOT_DIR/lib/Mycat-server-$MYCAT_VERSION-linux.tar.gz && \
mkdir /opt/mycat && \
tar zxvf Mycat-server-$MYCAT_VERSION-linux.tar.gz -C /opt/mycat && \
tar zxvf Mycat-server-$MYCAT_VERSION-linux.tar.gz -C /opt && \
rm -rf /opt/mycat/conf
# Add src
ADD conf /opt/mycat/conf
......@@ -26,6 +26,8 @@ VOLUME ["/opt/mycat/conf"]
# Expose ports.
EXPOSE 8066
# Define working directory.
WORKDIR /opt/mycat/bin
......
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