Skip to content

Commit

Permalink
Merge pull request #183 from dvkndn/patch-2
Browse files Browse the repository at this point in the history
Avoid using both Yarn and NPM
  • Loading branch information
DungDA authored Oct 30, 2020
2 parents aa605d0 + a947542 commit 07bb9c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5,894 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y --no-install-recommends nodejs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN npm install -g yarn

ADD requirements.txt .
RUN pip install -r requirements.txt

ADD package.json package-lock.json ./
RUN yarn install
RUN npm instal

# ENV should be configure from outside
# @see docker-compose.yaml
Expand Down
Loading

0 comments on commit 07bb9c2

Please sign in to comment.