mirror of
https://github.com/0x1d/drift-keeper.git
synced 2025-12-15 02:42:21 +01:00
18 lines
314 B
Docker
18 lines
314 B
Docker
FROM public.ecr.aws/bitnami/node:16
|
|
RUN apt-get install git
|
|
ENV NODE_ENV=production
|
|
RUN npm install -g yarn
|
|
RUN npm install -g typescript
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
|
|
RUN yarn install
|
|
COPY . .
|
|
RUN yarn build
|
|
RUN yarn install --production
|
|
|
|
EXPOSE 9464
|
|
|
|
CMD [ "yarn", "start", "--config-file=config.yaml" ] |