You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
382 B
Docker
21 lines
382 B
Docker
FROM node:8
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn install
|
|
COPY . .
|
|
RUN yarn build
|
|
|
|
ENV NODE_ENV production
|
|
ENV API_PORT 9000
|
|
ENV ELASTIC_HOST elasticsearch:9200
|
|
ENV ELASTIC_LOGLEVEL info
|
|
ENV WEB_DOMAIN localhost:2015
|
|
ENV GCS_APIKEY getitfromgoogle
|
|
ENV GCS_SEARCHID getitfromgoogle
|
|
ENV AZURE_SUBKEY getitfrommicrosoft
|
|
|
|
EXPOSE $API_PORT
|
|
|
|
CMD ["yarn", "start"]
|