Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
fix(project): install neo4j-graphql-js in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Jan 13, 2020
1 parent c5facde commit ec9957b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ COPY package-lock.json .
RUN npm install
COPY . .

RUN git clone --depth 1 https://github.com/neo4j-graphql/neo4j-graphql-js
RUN cd /app/neo4j-graphql-js && npm install
RUN cd /app/neo4j-graphql-js && npm run build

RUN ls -al /app/neo4j-graphql-js

RUN cp -R /app/neo4j-graphql-js/dist /app/node_modules/neo4j-graphql-js/dist

EXPOSE 80

CMD ["npm", "start"]

0 comments on commit ec9957b

Please sign in to comment.