Skip to content

Commit

Permalink
Use npm in docker not yarn, yarn is broken in docker
Browse files Browse the repository at this point in the history
We should fix this later
  • Loading branch information
eirsyl committed Mar 3, 2017
1 parent dcf7365 commit 2ccb4cc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ EXPOSE 9000
COPY . /app

# Build image
RUN npm install yarn -g
RUN yarn install
RUN yarn build
RUN npm install
RUN npm run build

ENTRYPOINT ["yarn", "start"]
ENTRYPOINT ["npm", "start"]

0 comments on commit 2ccb4cc

Please sign in to comment.