diff --git a/.eslintignore b/.eslintignore index 7e45de312a..24526f596e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ # Contains the PDF file of the Tag as JSON string, thus does not need to be linted -src/components/CheckIn/tagTemplate.ts \ No newline at end of file +src/components/CheckIn/tagTemplate.ts +docker-compose.yml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index fe910c11fa..8abbeabb9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:lts WORKDIR /usr/src/app @@ -8,6 +8,6 @@ RUN npm install --legacy-peer-deps COPY . . -EXPOSE 3000 +EXPOSE $PORT CMD ["npm", "run", "serve"] diff --git a/INSTALLATION.md b/INSTALLATION.md index 1816417fc9..5216d98f9f 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -11,7 +11,7 @@ This document provides instructions on how to set up and start a running instanc - [Setting up this repository](#setting-up-this-repository) - [Setting up npm](#setting-up-npm) - [Setting up Typescript](#setting-up-typescript) - - [Installation With Docker](#installation-using-docker) + - [Installation Using Docker](#installation-using-docker) - [Installing required packages/dependencies](#installing-required-packagesdependencies) - [Configuration](#configuration) - [Creating .env file](#creating-env-file) @@ -20,7 +20,7 @@ This document provides instructions on how to set up and start a running instanc - [Setting up REACT_APP_RECAPTCHA_SITE_KEY in .env file](#setting-up-react_app_recaptcha_site_key-in-env-file) - [Setting up Compiletime and Runtime logs](#setting-up-compiletime-and-runtime-logs) - [Post Configuration Steps](#post-configuration-steps) - - [Running Talawa-Admin](#running-talawa-admin) + - [Running Talawa-Admin without Docker](#running-talawa-admin-without-docker) - [Accessing Talawa-Admin](#accessing-talawa-admin) - [Talawa-Admin Registration](#talawa-admin-registration) - [Talawa-Admin Login](#talawa-admin-login) @@ -29,8 +29,8 @@ This document provides instructions on how to set up and start a running instanc - [Debugging tests](#debugging-tests) - [Linting code files](#linting-code-files) - [Husky for Git Hooks](#husky-for-git-hooks) - - [pre-commit hook](#pre-commit-hook) - - [post-merge hook](#post-merge-hook) + - [pre-commit hook](#pre-commit-hook) + - [post-merge hook](#post-merge-hook) diff --git a/docker-compose.yml b/docker-compose.yml index 8c895fe4b8..c22d839a74 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,4 @@ services: volumes: - .:/usr/src/app ports: - - '3000:3000' + - $PORT:$PORT