setup docker

This commit is contained in:
Philip Ahlqvist 2023-12-07 20:17:43 +01:00
parent b5eb6fe390
commit ad230d2271
4 changed files with 1155 additions and 436 deletions

11
.dockerignore Normal file
View file

@ -0,0 +1,11 @@
# Files
.DS_Store
.env
*.log
.sass-cache
app/dist/bundle.css
app/dist/bundle.css.map
# Directories
cache
node_modules

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM node:10.2.1
WORKDIR /app
COPY package.json package.json
COPY package-lock.json package-lock.json
RUN npm install
COPY . .
EXPOSE 8080
CMD [ "npm", "start" ]

1555
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,6 @@
"author": "LBRY Team",
"dependencies": {
"@babel/polyfill": "^7.4.4",
"@inc/fastify-ws": "^2019.7.23",
"@octokit/rest": "^16.28.7",
"@slack/client": "^5.0.2",
"async": "^3.1.0",
@ -32,6 +31,7 @@
"fastify-compress": "^0.10.0",
"fastify-helmet": "^3.0.1",
"fastify-static": "^2.5.0",
"fastify-ws": "^1.0.3",
"front-matter": "^3.0.2",
"fs-exists-sync": "^0.1.0",
"got": "^9.6.0",
@ -40,12 +40,13 @@
"make-promises-safe": "^5.0.0",
"markdown-it": "^9.0.1",
"markdown-it-anchor": "^5.2.4",
"module-alias": "^2.2.3",
"prismjs": "^1.17.1",
"redis": "^2.8.0",
"request": "latest",
"slack-node": "^0.1.8",
"socket.io": "^2.2.0",
"stringify-object": "^3.3.0",
"request": "latest"
"stringify-object": "^3.3.0"
},
"description": "Documentation for the LBRY protocol and associated projects",
"devDependencies": {
@ -63,8 +64,8 @@
"@babel/plugin-syntax-import-meta": "7.2.0",
"@babel/preset-env": "^7.5.5",
"@babel/register": "^7.5.5",
"@inc/eslint-config": "^2019.7.23",
"@inc/sasslint-config": "^2019.7.23",
"eslint-config": "^0.3.0",
"@springernature/sasslint-config": "^1.2.1",
"@lbry/color": "^1.1.1",
"@lbry/components": "^2019.6.22",
"eslint": "^6.1.0",