Skip to content
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

Adding Pino logs #46

Merged
merged 8 commits into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from 7 commits
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
7 changes: 1 addition & 6 deletions server/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ module.exports = {
"max-lines": "off",
"max-nested-callbacks": "off",
}
},
{
"files": ["src/Util.ts"],
"rules": {
"no-console": "off"
}
}
],
"ignorePatterns": [
Expand Down Expand Up @@ -80,6 +74,7 @@ module.exports = {
"no-bitwise": "error",
"no-caller": "error",
"no-cond-assign": "error",
"no-console": "error",
resurl marked this conversation as resolved.
Show resolved Hide resolved
"no-empty": "error",
"no-empty-function": "off",
"no-eval": "error",
Expand Down
11 changes: 11 additions & 0 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ FROM node:lts

WORKDIR /app
COPY ./package*.json ./

# This installs Chromium, which is required by puppeteer to run
RUN apt-get update \
&& apt-get install -y wget gnupg \
resurl marked this conversation as resolved.
Show resolved Hide resolved
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

RUN npm ci
COPY . .

Expand Down
Loading