Skip to content

Commit a34bb29

Browse files
committed
Update node version to 20 in dockerfile. Update backend deps.
1 parent 976717a commit a34bb29

File tree

6 files changed

+15
-71
lines changed

6 files changed

+15
-71
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: check-yaml
88
- id: debug-statements
99
- repo: https://github.com/psf/black
10-
rev: 23.1.0
10+
rev: 23.3.0
1111
hooks:
1212
- id: black
1313
# It is recommended to specify the latest version of Python
@@ -16,7 +16,7 @@ repos:
1616
# https://pre-commit.com/#top_level-default_language_version
1717
language_version: python3.11
1818
- repo: https://github.com/python-poetry/poetry
19-
rev: '1.3.1'
19+
rev: '1.5.1'
2020
hooks:
2121
- id: poetry-check
2222
args: ["--directory", "backend"]

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,5 @@ Once you've create a client-id and token in your Google cloud console, copy thos
113113
The project has a [build workflow](./.github/workflows/build.yml) configuration to build the docker images for production and publish those into your Github package registry. To do this, you must first create a [Github Environment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment) for your project (call this environment `prod` or update the environment name in the workflow configuration.
114114

115115
You also need to add an environment secret variable `SERVER_ENV_PROD` which should contain the root `.env` file with the variables set for your production environment (simply copy-paste the contents of the env file as the github secret). This secret environment variable will be used by the github workflow to build the docker images with the [docker-compose.prod.yml](./docker-compose.prod.yml) file.
116+
117+
Finally, enable write permission for the `GITHUB_TOKEN` to enable pushing images to your package registry: Go to `Settings` > `Actions` > `General` and check `Read and write permissions` under `Workflow permissions`.

0 commit comments

Comments
 (0)