From a2f40e0a420f6b0143ded5664f68275ac7b3c3b2 Mon Sep 17 00:00:00 2001 From: Michael Feng Date: Mon, 6 Feb 2023 15:15:31 -0800 Subject: [PATCH] add changes from #6063 --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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