Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nmesoma01 committed Jul 25, 2024
1 parent 8b7ea52 commit 847365b
Show file tree
Hide file tree
Showing 10 changed files with 571 additions and 136 deletions.
12 changes: 8 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ module.exports = {
"browser": true,
"es2021": true,
"node": true,
"jest": true,
"jest/globals": true
},
"extends": "airbnb-base",
"extends": [
"airbnb-base",
"plugin:jest/recommended"
],
"overrides": [
{
"env": {
Expand All @@ -24,5 +27,6 @@ module.exports = {
"sourceType": "module"
},
"rules": {
}
}
},
"plugins": ["jest"]
};
7 changes: 0 additions & 7 deletions __tests__/sum.test.js

This file was deleted.

18 changes: 18 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Use the official Node.js image.
FROM node:14

# Create and change to the app directory.
WORKDIR /usr/src/app

# Copy application dependency manifests to the container image.
# A wildcard is used to ensure both package.json AND package-lock.json are copied.
COPY package*.json ./

# Install dependencies.
RUN npm install --production

# Copy local code to the container image.
COPY . .

# Run the web service on container startup.
CMD [ "node", "index.js" ]
Empty file added eslint-config.json
Empty file.
Loading

0 comments on commit 847365b

Please sign in to comment.