Files
redstone-cache-layer/Dockerfile
2022-06-30 12:44:52 +02:00

22 lines
411 B
Docker

# This Dockerfile contains a docker container configuration
# for redstone cache layer express app with the lite mode
# The app in the lite mode doesn't store historical data and uses
# memory as a storage instead of Mongo DB
FROM node:16
WORKDIR /var/task/
COPY package.json package.json
COPY yarn.lock yarn.lock
RUN yarn
COPY . .
ENV MODE=PROD
ENV LIGHT_MODE = true
EXPOSE 9000
CMD [ "yarn", "start" ]