Skip to content

Commit

Permalink
Merge branch 'develop' into feat/upgrade-to-node-18
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-funk committed Sep 14, 2023
2 parents 9609175 + 106f9a6 commit 9e3cbe0
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 17 deletions.
23 changes: 22 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,51 @@
# tests are not run in the docker container.
__tests__
**/__tests__
**/coverage
coverage

# we won't use the .git folder in production.
.git
.github

# don't include the dependancies
node_modules
**/node_modules

# don't include any logs
npm-debug.log*
**/npm-debug.log*

# don't include any yarn files
yarn-error.log
yarn.lock

# don't include any OS/editor files
.env
**/.env
.idea/
.vs
.vscode

.docz
**/.docz

*.swp
**/*.swp

*.DS_STORE
*.DS_Store
**/*.DS_STORE
**/*.DS_Store

# don't include any generated files
dist
**/dist

*.css.d.ts
**/*.css.d.ts

__generated__
docs/.next
**/__generated__

**/.next
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,14 @@ RUN cd server && \
npm prune --production && \
cd ..

# Set working directory within server folder
WORKDIR /usr/src/app/server

# Setup the environment
ENV NODE_ENV production
ENV PORT 5000
EXPOSE 5000

# Run the node process directly instead of using `npm run start`:
# SEE: https://github.com/nodejs/docker-node/blob/a2eb9f80b0fd224503ee2678867096c9e19a51c2/docs/BestPractices.md#cmd
CMD ["node", "server/dist/index.js"]
CMD ["node", "dist/index.js"]
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coralproject/talk",
"version": "8.5.0",
"version": "8.5.1",
"author": "The Coral Project",
"homepage": "https://coralproject.net/",
"sideEffects": [
Expand Down
4 changes: 2 additions & 2 deletions common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "common",
"version": "8.5.0",
"version": "8.5.1",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -44,4 +44,4 @@
"typescript": "^3.9.5",
"url-regex-safe": "^2.0.2"
}
}
}
4 changes: 2 additions & 2 deletions config/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "common",
"version": "8.5.0",
"version": "8.5.1",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -14,4 +14,4 @@
"dependencies": {
"typescript": "^3.9.5"
}
}
}
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coralproject/talk",
"version": "8.5.0",
"version": "8.5.1",
"author": "The Coral Project",
"homepage": "https://coralproject.net/",
"sideEffects": [
Expand Down Expand Up @@ -431,4 +431,4 @@
"not OperaMini all",
"not dead"
]
}
}

0 comments on commit 9e3cbe0

Please sign in to comment.