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

Enhance setup.js for Improved Docker Compatibility #2447

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
5821d59
added docker check to workflow
VanshikaSabharwal Nov 8, 2024
1519682
Merge branch 'develop' into docker-1
VanshikaSabharwal Nov 8, 2024
81bbb3e
made recommended changes to docker check in workflow
VanshikaSabharwal Nov 8, 2024
7d04c94
made recommended changes to docker check in workflow
VanshikaSabharwal Nov 8, 2024
f8389f6
added changes to docker check inn workflow as recommended
VanshikaSabharwal Nov 8, 2024
f54dcf2
added changes
VanshikaSabharwal Nov 8, 2024
b93aed6
updated indentation in pull-request.yml file
VanshikaSabharwal Nov 8, 2024
a0ee511
updated indentation in pull-request.yml file
VanshikaSabharwal Nov 8, 2024
235d163
added Dockerfile and Docker-compose.yml file
VanshikaSabharwal Nov 10, 2024
66f4843
added Dockerfile and Docker-compose.yml file
VanshikaSabharwal Nov 10, 2024
aef2485
Merge branch 'develop' into dockerfile-1
VanshikaSabharwal Nov 10, 2024
0fa9fe5
updated .docker-ignore file
VanshikaSabharwal Nov 10, 2024
88626b7
Merge branch 'dockerfile-1' of https://github.com/VanshikaSabharwal/t…
VanshikaSabharwal Nov 10, 2024
6fd1e01
Merge branch 'develop' into docker-1
VanshikaSabharwal Nov 11, 2024
e572cf4
Merge branch 'docker-1' of https://github.com/VanshikaSabharwal/talaw…
VanshikaSabharwal Nov 11, 2024
cfdeff5
added recommended changes by code rabbit
VanshikaSabharwal Nov 11, 2024
e188853
added recommended changes by code rabbit
VanshikaSabharwal Nov 11, 2024
9a2b428
added recommended changes by code rabbit
VanshikaSabharwal Nov 11, 2024
12e5474
added recommended changes by code rabbit
VanshikaSabharwal Nov 11, 2024
17a12f7
added recommended changes by code rabbit
VanshikaSabharwal Nov 11, 2024
a44ecdb
added recommended changes by code rabbit
VanshikaSabharwal Nov 11, 2024
526a2cf
properly formatted code
VanshikaSabharwal Nov 11, 2024
82836f0
chore(deps): bump sass from 1.80.6 to 1.80.7 (#2433)
dependabot[bot] Nov 14, 2024
a97314c
chore(deps): bump eslint-plugin-import from 2.30.0 to 2.31.0 (#2434)
dependabot[bot] Nov 14, 2024
32eb6a9
chore(deps): bump @mui/x-charts from 7.22.1 to 7.22.2 (#2435)
dependabot[bot] Nov 14, 2024
ab509f6
chore(deps): bump @types/react from 18.3.3 to 18.3.12 (#2436)
dependabot[bot] Nov 14, 2024
fb913e1
Update pull-request.yml
palisadoes Nov 14, 2024
d4fca6f
trying to make docker check pass
VanshikaSabharwal Nov 15, 2024
41bb9cf
Merge branch 'develop' into docker-1
VanshikaSabharwal Nov 15, 2024
7966dda
trying to make docker check pass
VanshikaSabharwal Nov 15, 2024
ec8ec5f
Merge branch 'docker-1' of https://github.com/VanshikaSabharwal/talaw…
VanshikaSabharwal Nov 15, 2024
96d5e9a
updated INSTALLATION.md
VanshikaSabharwal Nov 15, 2024
ef08944
updated INSTALLATION.md
VanshikaSabharwal Nov 15, 2024
8236c9a
added recommended changes to INSTALLATION.md
VanshikaSabharwal Nov 15, 2024
b09c696
added recommended changes to INSTALLATION.md
VanshikaSabharwal Nov 15, 2024
c8c42a4
added recommended changes to INSTALLATION.md
VanshikaSabharwal Nov 15, 2024
d16b95e
Update dependabot.yaml
palisadoes Nov 16, 2024
aa1cb05
updated docker workflow
VanshikaSabharwal Nov 17, 2024
5e38619
Merge branch 'develop' into docker-1
VanshikaSabharwal Nov 17, 2024
435c0bd
Merge branch 'docker-1' of https://github.com/VanshikaSabharwal/talaw…
VanshikaSabharwal Nov 17, 2024
97bb5e6
updated INSTALLATION.md
VanshikaSabharwal Nov 17, 2024
0b47923
updated INSTALLATION.md
VanshikaSabharwal Nov 17, 2024
31b4bc5
updated INSTALLATION.md
VanshikaSabharwal Nov 17, 2024
c0884d1
updated setup.ts
VanshikaSabharwal Nov 17, 2024
9412b27
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Nov 17, 2024
eac28f7
did recommended changes to setup.ts
VanshikaSabharwal Nov 17, 2024
f1cd66a
Merge branch 'setup' of https://github.com/VanshikaSabharwal/talawa-a…
VanshikaSabharwal Nov 17, 2024
15282bc
updated setup.ts
VanshikaSabharwal Nov 18, 2024
5830ec7
updated INSTALLATION.md
VanshikaSabharwal Nov 18, 2024
0ebafd5
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Nov 19, 2024
c426e45
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Nov 23, 2024
97dde86
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Nov 24, 2024
f9d03de
pull-request.yml formatted
VanshikaSabharwal Nov 24, 2024
6243659
solved the problem with linting of dockerfile in pull-request.yml file
VanshikaSabharwal Nov 24, 2024
4c539cb
solved the problem with linting of dockerfile in pull-request.yml file
VanshikaSabharwal Nov 24, 2024
39115fb
solved the problem with linting of dockerfile in pull-request.yml file
VanshikaSabharwal Nov 24, 2024
3192d45
made recommended changes to pull-request.yml
VanshikaSabharwal Nov 24, 2024
5cd5a48
testing eslint fix
VanshikaSabharwal Nov 24, 2024
da0113c
testing eslint
VanshikaSabharwal Nov 24, 2024
de5cb43
testing eslint
VanshikaSabharwal Nov 24, 2024
2b4f3a0
added askForDocker file with test file
VanshikaSabharwal Nov 25, 2024
3174ea4
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Nov 25, 2024
7eb38f7
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Nov 26, 2024
af8cd4a
updated setup.ts file
VanshikaSabharwal Nov 28, 2024
594765d
updated askForDocker
VanshikaSabharwal Nov 28, 2024
cd99eb0
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Nov 28, 2024
5c41622
updated linting error
VanshikaSabharwal Nov 29, 2024
f9b02a1
Merge branch 'develop-postgres' into setup
VanshikaSabharwal Dec 1, 2024
05dcfc8
adding
VanshikaSabharwal Dec 2, 2024
bab3153
added vitest
VanshikaSabharwal Dec 2, 2024
99bd739
testing
VanshikaSabharwal Dec 2, 2024
c298068
testing type error issue
VanshikaSabharwal Dec 2, 2024
a8ee09e
updated eslint_disable_check.py
VanshikaSabharwal Dec 2, 2024
425b45f
updated eslint_disable_check.py
VanshikaSabharwal Dec 2, 2024
dd635c4
updated eslint_disable_check.py
VanshikaSabharwal Dec 2, 2024
f27ed9e
updated pull-request.yml
VanshikaSabharwal Dec 2, 2024
9316808
updated pull-request.yml
VanshikaSabharwal Dec 2, 2024
ae3dac5
updated pull-request.yml
VanshikaSabharwal Dec 2, 2024
1f9cacc
updated pull-request.yml
VanshikaSabharwal Dec 2, 2024
e863c6b
updated .eslintrc.json
VanshikaSabharwal Dec 4, 2024
a859d25
updated .eslintrc.json
VanshikaSabharwal Dec 4, 2024
418092e
updated .eslintrc.json
VanshikaSabharwal Dec 4, 2024
65e2b3a
updated .eslintrc.json
VanshikaSabharwal Dec 4, 2024
55a8e7c
updated .eslintrc.json
VanshikaSabharwal Dec 4, 2024
3591428
updated .eslintrc.json
VanshikaSabharwal Dec 4, 2024
c860961
updated .eslintrc.json
VanshikaSabharwal Dec 4, 2024
5be01a6
added linters for dockerfile and markdown file
VanshikaSabharwal Dec 4, 2024
ff4ea49
Revert "updated .eslintrc.json"
VanshikaSabharwal Dec 4, 2024
da04be8
testing
VanshikaSabharwal Dec 4, 2024
557c203
testing changes
VanshikaSabharwal Dec 4, 2024
780ae27
testing changes
VanshikaSabharwal Dec 4, 2024
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
5 changes: 5 additions & 0 deletions .dockerfilelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"skipShellCheck": false,
"skipCritical": false,
"disableLineBreaks": false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please revert all changes to this file.
  2. It is out of scope of the issue.
  3. The changes impede our ability to have the code quality we require as a project

}
4 changes: 1 addition & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Contains the PDF file of the Tag as JSON string, thus does not need to be linted

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please revert all changes to this file.
  2. It is out of scope of the issue.
  3. The changes impede our ability to have the code quality we require as a project

src/components/CheckIn/tagTemplate.ts
package.json
package-lock.json
tsconfig.json
8 changes: 1 addition & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,7 @@
"@typescript-eslint/array-type": "error",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/explicit-function-return-type": [
2,
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please revert all changes to this file.
  2. It is out of scope of the issue.
  3. The changes impede our ability to have the code quality we require as a project

"allowExpressions": true,
"allowTypedFunctionExpressions": true
}
],
"@typescript-eslint/explicit-function-return-type": "off",
"camelcase": "off",
"@typescript-eslint/naming-convention": [
"error",
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Check formatting
if: steps.changed-files.outputs.only_changed != 'true'
run: npm run format:check

- name: Run formatting if check fails
if: failure()
run: npm run format
Expand All @@ -57,10 +57,10 @@ jobs:

- name: Check for linting errors in modified files
if: steps.changed-files.outputs.only_changed != 'true'
env:
env:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please revert all changes to this file.
  2. It is out of scope of the issue.
  3. The changes impede our ability to have the code quality we require as a project

CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: npx eslint ${CHANGED_FILES} && python .github/workflows/eslint_disable_check.py
run: npx eslint "**/*.{js,jsx,ts,tsx}" --ignore-path .eslintignore

- name: Check for TSDoc comments
run: npm run check-tsdoc # Run the TSDoc check script

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Get Changed Unauthorized files
id: changed-unauth-files
uses: tj-actions/changed-files@v45
Expand Down Expand Up @@ -130,10 +130,10 @@ jobs:
*.password
*.secret
*.credentials

- name: List all changed unauthorized files
if: steps.changed-unauth-files.outputs.any_changed == 'true' || steps.changed-unauth-files.outputs.any_deleted == 'true'
env:
env:
VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
CHANGED_UNAUTH_FILES: ${{ steps.changed-unauth-files.outputs.all_changed_files }}
run: |
for file in ${CHANGED_UNAUTH_FILES}; do
Expand All @@ -154,14 +154,14 @@ jobs:
uses: tj-actions/changed-files@v45

- name: Echo number of changed files
env:
env:
CHANGED_FILES_COUNT: ${{ steps.changed-files.outputs.all_changed_files_count }}
run: |
echo "Number of files changed: $CHANGED_FILES_COUNT"

- name: Check if the number of changed files is less than 100
if: steps.changed-files.outputs.all_changed_files_count > 100
env:
env:
CHANGED_FILES_COUNT: ${{ steps.changed-files.outputs.all_changed_files_count }}
run: |
echo "Error: Too many files (greater than 100) changed in the pull request."
Expand Down Expand Up @@ -201,11 +201,11 @@ jobs:

- name: Install Dependencies
run: npm install

- name: Get changed TypeScript files
id: changed-files
uses: tj-actions/changed-files@v45

- name: Run Jest Tests
if: steps.changed-files.outputs.only_changed != 'true'
env:
Expand All @@ -227,8 +227,8 @@ jobs:
if ! npx lcov-result-merger 'coverage/*/lcov.info' > 'coverage/lcov.info'; then
echo "Failed to merge coverage reports"
exit 1
fi
fi

- name: TypeScript compilation for changed files
run: |
for file in ${{ steps.changed-files.outputs.all_files }}; do
Expand All @@ -249,7 +249,7 @@ jobs:
- name: Test acceptable level of code coverage
uses: VeryGoodOpenSource/very_good_coverage@v3
with:
path: "./coverage/lcov.info"
path: './coverage/lcov.info'
min_coverage: 0.0

Graphql-Inspector:
Expand All @@ -267,15 +267,15 @@ jobs:

- name: resolve dependency
run: npm install -g @graphql-inspector/cli

VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
- name: Clone API Repository
run: |
# Retrieve the complete branch name directly from the GitHub context
FULL_BRANCH_NAME=${{ github.base_ref }}
echo "FULL_Branch_NAME: $FULL_BRANCH_NAME"

# Clone the specified repository using the extracted branch name
git clone --branch $FULL_BRANCH_NAME https://github.com/PalisadoesFoundation/talawa-api && ls -a
git clone --branch $FULL_BRANCH_NAME https://github.com/PalisadoesFoundation/talawa-api && ls -a

- name: Validate Documents
run: graphql-inspector validate './src/GraphQl/**/*.ts' './talawa-api/schema.graphql'
Expand Down
49 changes: 25 additions & 24 deletions CODE_STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ code style should not be changed and must be followed.

- Typescript

- React.js
- React.js

- CSS module

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please revert all changes to this file.
  2. It is out of scope of the issue.
  3. The changes impede our ability to have the code quality we require as a project

Expand All @@ -43,7 +43,6 @@ code style should not be changed and must be followed.

- Should make use of React hooks where appropriate


## Code Style and Naming Conventions

- All React components *must* be written in PascalCase, with their file names, and associated CSS modules being written in PascalCase
Expand All @@ -55,13 +54,15 @@ code style should not be changed and must be followed.
- Use of custom classes directly are refrained, use of modular css is encouraged along with bootstrap classes

**Wrong way ❌**

```
<div className="myCustomClass">...</div>
<div className={`${styles.myCustomClass1} myCustomClass2`}>...</div> // No using personal custom classes directly, here you should not use myCustomClass2
.container{...} // No changing the property of already existing classes reserved by boostrap directly in css files
```

**Correct ways ✅**
**Correct ways ✅**

```
<div className={styles.myCustomClass}>...</div> // Use custom class defined in modular css file
<div className={`${styles.myCustomClass} relative bg-danger`}>...</div> // Use classes already defined in Bootstrap
Expand All @@ -74,7 +75,8 @@ code style should not be changed and must be followed.

**Wrong way ❌**

Using plain Bootstrap classes and attributes without leveraging the React-Bootstrap library should be refrained. While it may work for basic functionality, it doesn't fully integrate with React and may cause issues when dealing with more complex state management or component interactions.
Using plain Bootstrap classes and attributes without leveraging the React-Bootstrap library should be refrained. While it may work for basic functionality, it doesn't fully integrate with React and may cause issues when dealing with more complex state management or component interactions.

```
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
Expand All @@ -87,11 +89,11 @@ Using plain Bootstrap classes and attributes without leveraging the React-Bootst
</ul>
</div>
```


**Correct way ✅**

It's recommended to use the React-Bootstrap library for seamless integration of Bootstrap components in a React application.

```
import Dropdown from 'react-bootstrap/Dropdown';

Expand All @@ -114,27 +116,27 @@ function BasicExample() {
export default BasicExample;
```

## Test and Code Linting

## Test and Code Linting

Unit tests must be written for *all* code submissions to the repository,
Unit tests must be written for *all* code submissions to the repository,
the code submitted must also be linted ESLint and formatted with Prettier.

## Folder/Directory Structure

### Sub Directories of `src`

`assets` - This houses all of the static assets used in the project
- `css` - This houses all of the css files used in the project
- `images` - This houses all of the images used in the project
- `scss` - This houses all of the scss files used in the project
- `components -` All Sass files for components
- `content -` All Sass files for content
- `forms -` All Sass files for forms
- `_talawa.scss` - Partial Sass file for Talawa
- `_utilities.scss` - Partial Sass file for utilities
- `_variables.scss` - Partial Sass file for variables
- `app.scss` - Main Sass file for the app, imports all other partial Sass files

- `css` - This houses all of the css files used in the project
- `images` - This houses all of the images used in the project
- `scss` - This houses all of the scss files used in the project
- `components -` All Sass files for components
- `content -` All Sass files for content
- `forms -` All Sass files for forms
- `_talawa.scss` - Partial Sass file for Talawa
- `_utilities.scss` - Partial Sass file for utilities
- `_variables.scss` - Partial Sass file for variables
- `app.scss` - Main Sass file for the app, imports all other partial Sass files

`components` - The directory for base components that will be used in the various views/screens

Expand All @@ -148,7 +150,6 @@ the code submitted must also be linted ESLint and formatted with Prettier.

`utils` - This holds the utility functions that do not fall into any of the other categories


## Imports

Absolute imports have been set up for the project, so imports may be done directly from `src`.
Expand All @@ -161,10 +162,9 @@ import Navbar from 'components/Navbar/Navbar';

Imports should be grouped in the following order:

- React imports
- Third party imports
- Local imports

- React imports
- Third party imports
- Local imports

If there is more than one import from a single library, they should be grouped together

Expand Down Expand Up @@ -213,7 +213,6 @@ Follow this [link](https://getbootstrap.com/docs/5.3/customize/sass/) to learn h
- **_table.scss**
- **_typography.scss**


- `src/assets/scss/forms/{'{partialFile}'}.scss` - where the {'{partialFile}'} are the following files
- **_check-radios.scss**
- **_floating-label.scss**
Expand Down Expand Up @@ -245,9 +244,11 @@ To watch the Sass file for changes and compile it automatically, run the followi
```
npx sass src/assets/scss/app.scss src/assets/css/app.css --watch
```

The `src/assets/css/app.css.map` file associates the generated CSS code with the original SCSS code. It allows you to see your SCSS code in the browser's developer tools for debugging.

To skip generating the map file, run

```
npx sass --no-source-map src/assets/scss/app.scss src/assets/css/app.css
```
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,24 +125,30 @@ The process of proposing a change to Talawa Admin can be summarized as:
1. _General Information_
1. The current code coverage of the repo is: [![codecov](https://codecov.io/gh/PalisadoesFoundation/talawa-admin/branch/develop/graph/badge.svg?token=II0R0RREES)](https://codecov.io/gh/PalisadoesFoundation/talawa-admin)
2. You can determine the percentage test coverage of your code by running these two commands in sequence:

```
npm install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please revert all changes to this file.
  2. It is out of scope of the issue.
  3. The changes impede our ability to have the code quality we require as a project

npm run test --watchAll=false --coverage
genhtml coverage/lcov.info -o coverage
```

3. The output of the `npm run test` command will give you a tablular coverage report per file
4. The overall coverage rate will be visible on the penultimate line of the `genhtml` command's output.
5. The `genhtml` command is part of the Linux `lcov` package. Similar packages can be found for Windows and MacOS.
6. The currently acceptable coverage rate can be found in the [GitHub Pull Request file](.github/workflows/pull-requests.yml). Search for the value below the line containing `min_coverage`.
2. _Testing Individual Files_
1. You can test an individual file by running this command:

```
npm run test --watchAll=false /path/to/test/file
```

2. You can get the test coverage report for that file by running this command. The report will list all tests in the suite. Those tests that are not run will have zero values. You will need to look for the output line relevant to your test file.

```
npm run test --watchAll=false --coverage /path/to/test/file
```

3. _Creating your code coverage account_

1. You can also see your code coverage online for your fork of the repo. This is provided by `codecov.io`
Expand Down
12 changes: 8 additions & 4 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Documentation

Welcome to our documentation guide. Here are some useful tips you need to know!

# Table of Contents
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please revert all changes to this file.
  2. It is out of scope of the issue.
  3. The changes impede our ability to have the code quality we require as a project

Expand All @@ -15,18 +16,21 @@ Welcome to our documentation guide. Here are some useful tips you need to know!

Our documentation can be found in ONLY TWO PLACES:

1. ***Inline within the repository's code files***: We have automated processes to extract this information and place it in our Talawa documentation site [docs.talawa.io](https://docs.talawa.io/).
1. ***Inline within the repository's code files***: We have automated processes to extract this information and place it in our Talawa documentation site [docs.talawa.io](https://docs.talawa.io/).
1. ***In our `talawa-docs` repository***: Our [Talawa-Docs](https://github.com/PalisadoesFoundation/talawa-docs) repository contains user edited markdown files that are automatically integrated into our Talawa documentation site [docs.talawa.io](https://docs.talawa.io/) using the [Docusaurus](https://docusaurus.io/) package.

## How to use Docusaurus

The process in easy:

1. Install `talawa-docs` on your system
1. Launch docusaurus on your system according to the `talawa-docs`documentation.
- A local version of `docs.talawa.io` should automatically launched in your browser at http://localhost:3000/
1. Launch docusaurus on your system according to the `talawa-docs`documentation.
- A local version of `docs.talawa.io` should automatically launched in your browser at <http://localhost:3000/>
VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
1. Add/modify the markdown documents to the `docs/` directory of the `talawa-docs` repository
1. If adding a file, then you will also need to edit the `sidebars.js` which is used to generate the [docs.talawa.io](https://docs.talawa.io/) menus.
1. Always monitor the local website in your brower to make sure the changes are acceptable.
1. Always monitor the local website in your brower to make sure the changes are acceptable.
- You'll be able to see errors that you can use for troubleshooting in the CLI window you used to launch the local website.

## Other information

***PLEASE*** do not add markdown files in this repository. Add them to `talawa-docs`!
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.10.0 AS build
FROM node:20.10.0-alpine AS build

WORKDIR /usr/src/app

Expand All @@ -12,4 +12,4 @@ RUN npm run build

EXPOSE 4321

CMD ["npm", "run", "serve"]
CMD ["npm", "run", "serve"]
Loading
Loading