Skip to content

fix: switch to yarn for faster install time #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: switch to yarn for faster install time
Signed-off-by: Rakib Ansary <[email protected]>
  • Loading branch information
rakibansary committed Jul 3, 2023
commit d37ffb9ada98eca0c758046bd518498dd4d3747e
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ workflows:
branches:
only:
- develop
- fix/build

# Production builds are exectuted only on tagged commits to the testing
# master branch.
Expand Down
12 changes: 5 additions & 7 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the base image with Node.js
FROM node:latest
FROM node:14.21.3

# Copy the current directory into the Docker image
COPY . /resources-api
Expand All @@ -8,10 +8,8 @@ COPY . /resources-api
WORKDIR /resources-api

# Install the dependencies from package.json
RUN npm install
RUN npm run lint
RUN npm run lint:fix
#RUN npm run build
#RUN npm run test
RUN yarn install
RUN yarn lint
RUN yarn lint:fix

CMD npm start
CMD node app.js
Loading