diff --git a/Dockerfile b/Dockerfile index 81553f9cbe..d556006fe8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:18.10.0 # Set labels -LABEL application="gateway-v2" +LABEL application="gateway" LABEL branch=${BRANCH} LABEL commit=${COMMIT} LABEL date=${BUILD_DATE} @@ -23,6 +23,14 @@ RUN apt-get update && \ # app directory WORKDIR /usr/src/app +# copy pwd file to container +COPY . . + +# create sym links +RUN ln -s /conf /usr/src/app/conf && \ + ln -s /logs /usr/src/app/logs && \ + ln -s /certs /usr/src/app/certs + # create app writable directory for db files RUN mkdir /var/lib/gateway RUN chown -R hummingbot /var/lib/gateway