mirror of
https://github.com/0x1d/drift-keeper.git
synced 2025-12-14 18:35:20 +01:00
* 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
17 lines
319 B
Docker
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" ] |