Files
drift-keeper/Dockerfile
Patrick Balsiger f05fac48ca Multi-Cloud Deployment (#1)
* Introduce instances list to scale bots and add config templating

* Use env var for wallet address if not provided as path param

* Expose SOL price as metric

* Update docs

* Add auto-swap

* Add Panopticon

* implement backoff stategy in autoswap

* Add retry logic for withdraw and swap

* bump drift-sdk, update ctl.sh and docs

* Update filler bot, add tx metrics

* Add user-metrics

* Update build and dashboard
2024-04-28 07:25:08 +02:00

17 lines
319 B
Docker

FROM public.ecr.aws/bitnami/node:18
RUN apt-get install git
ENV NODE_ENV=production
RUN npm install -g yarn
RUN npm install -g typescript
RUN npm install -g ts-node
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn build
RUN yarn install --production
EXPOSE 9464
CMD [ "yarn", "start", "--config-file=config.yaml" ]