mirror of
https://github.com/52North/ecmwf-dataset-crawl
synced 2025-03-12 16:00:54 +01:00
20 lines
382 B
Docker
20 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"]
|