Use production.yaml instead of local-production.yaml

This commit is contained in:
Girish Ramakrishnan 2020-07-22 14:03:41 -07:00
parent eb1a3f4fe7
commit 62eefb5582

View file

@ -21,8 +21,8 @@ RUN yarn install --production --pure-lockfile
# #
# RUN yarn install && npm run build # RUN yarn install && npm run build
# the json is created and managed by web ui. it overrides the yaml file # the json is created and managed by web ui. it overrides the yaml file (https://github.com/lorenwest/node-config/wiki/Configuration-Files)
RUN ln -sf /app/data/production.yaml /app/code/config/local-production.yaml && \ RUN ln -sf /app/data/production.yaml /app/code/config/production.yaml && \
ln -sf /app/data/local-production.json /app/code/config/local-production.json ln -sf /app/data/local-production.json /app/code/config/local-production.json
COPY production.yaml.example start.sh /app/pkg/ COPY production.yaml.example start.sh /app/pkg/