Commit 1ed02310 authored by Guido Schmutz's avatar Guido Schmutz Committed by Jin Hyuk Chang

add npm build to dockerfile and environment to docker-compose.yml (#121)

parent 74d22107
......@@ -52,6 +52,9 @@ services:
- 5000:5000
networks:
- amundsennet
environment:
- SEARCHSERVICE_BASE=http://amundsensearch:5000
- METADATASERVICE_BASE=http://amundsenmetadata:5000
networks:
amundsennet:
FROM node:8 as node-stage
COPY . /app
WORKDIR /app/amundsen_application/static
RUN npm install
RUN npm run build
FROM python:3
COPY --from=node-stage /app /app
WORKDIR /app
COPY . /app
RUN pip3 install -r requirements3.txt
RUN python3 setup.py install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment