Skip to content

Commit

Permalink
fix: Docker package configuration (#43)
Browse files Browse the repository at this point in the history
* Fix package info

* Bump deps

* Bump image version
  • Loading branch information
MikuroXina authored Nov 18, 2021
1 parent 9c28dae commit 0cea327
Show file tree
Hide file tree
Showing 4 changed files with 838 additions and 1,001 deletions.
4 changes: 2 additions & 2 deletions docker/bot.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:14.17.4-alpine3.14 as BUILD
FROM node:16-alpine as BUILD

COPY . .

RUN npm install --no-save && npm run build:bot

# ---

FROM node:14.17.4-alpine3.14
FROM node:16-alpine

RUN addgroup -g 1993 -S bot \
&& adduser -u 1993 -S bot -G bot
Expand Down
2 changes: 1 addition & 1 deletion docker/web.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.17.4-alpine3.14
FROM node:16-alpine

EXPOSE 3000

Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "github-secretary",
"version": "1.2.0",
"version": "1.6.0",
"main": "index.js",
"repository": "https://github.com/MikuroXina/github-secretary",
"repository": "https://github.com/approvers/github-secretary",
"author": "MikuroXina <ryosukadnak@gmail.com>",
"license": "Apache-2.0",
"private": true,
Expand All @@ -18,33 +18,33 @@
"lint:fix": "npm run lint -- --fix"
},
"dependencies": {
"discord.js": "^13.1.0",
"discord.js": "^13.3.1",
"dotenv": "^10.0.0",
"faunadb": "^4.4.1",
"mutex-promise": "^0.1.0",
"next": "^11.1.2",
"node-fetch": "^2.6.5",
"node-fetch": "^2.6.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"toml": "^3.0.0"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/node": "^16.9.6",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.7",
"@types/node-fetch": "^2.5.12",
"@types/react": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"@types/react": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"esbuild": "^0.12.29",
"eslint": "^7.32.0",
"eslint-config-next": "^11.1.2",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.26.0",
"jest": "^27.2.1",
"eslint-plugin-react": "^7.27.0",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
}
}
Loading

0 comments on commit 0cea327

Please sign in to comment.