mirror of
https://github.com/alexgo-io/redstone-cache-layer.git
synced 2026-01-12 16:53:15 +08:00
22 lines
411 B
Docker
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" ]
|