forked from VinokurovVE/tests
Rename; Added EMS server; redis compose
This commit is contained in:
22
ems/Dockerfile
Normal file
22
ems/Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
FROM node:lts-alpine AS base
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
ENV REDIS_HOST=$REDIS_HOST
|
||||
ENV REDIS_PORT=$REDIS_PORT
|
||||
ENV REDIS_PASSWORD=$REDIS_PASSWORD
|
||||
ENV EMS_PORT=$EMS_PORT
|
||||
|
||||
EXPOSE $EMS_PORT
|
||||
|
||||
CMD ["npm", "run", "start"]
|
Reference in New Issue
Block a user