Skip to content

Commit

Permalink
Upgrade Timgen Node.js to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Jan 25, 2024
1 parent 4929e1b commit ce1e68f
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 520 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
- pytest 7.4.2 -> 7.4.3
- pytest-rerunfailures 12.0 -> 13.0
- pytest-timeout 2.1.0 -> 2.2.0
- Upgrade Timgen from v16 to v18. Use not-so-secure SSL communication (UnsafeLegacyRenegotiation) in Timgen.
- Upgrade Timgen Node.js dependencies
- follow-redirects 1.15.2 -> 1.15.2 (suggested by dependabot)
- postcss 8.4.21 -> 8.4.33 (suggested by dependabot)
- vite 3.2.7 -> 3.2.8 (suggested by dependabot)
- Add development dependency `plantuml/plantuml` for rendering PlantUML diagrams.

## v1.22.3
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ services:
image: timgen:latest
user: ${UID_GID}
command: node server.js
environment:
- NODE_OPTIONS="--openssl-config=/code/unsafe_openssl.cnf"
# ports:
# - 8080:8080

Expand Down
2 changes: 1 addition & 1 deletion timgen/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18
3 changes: 2 additions & 1 deletion timgen/Dockerfile.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:18-alpine

RUN mkdir /code
WORKDIR /code
Expand All @@ -14,6 +14,7 @@ RUN npm ci
ADD index.html \
index.js \
server.js \
unsafe_openssl.cnf \
/code/

ADD src /code/src
Expand Down
Loading

0 comments on commit ce1e68f

Please sign in to comment.