diff --git a/Dockerfile b/Dockerfile index e129697..d4556a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,9 @@ WORKDIR /usr/src/sonic COPY --from=build /app/target/release/sonic /usr/local/bin/sonic +RUN ln -s /run/sonic/sonic.cfg /etc/sonic.cfg +VOLUME /run/sonic + CMD [ "sonic", "-c", "/etc/sonic.cfg" ] EXPOSE 1491