Skip to content
Snippets Groups Projects
  • Jed Fox's avatar
    c1af40ff
    Update recommended version to Node.js 18 (#1117) · c1af40ff
    Jed Fox authored
    After #1115, new Node.js versions will be able to be used for
    development of the frontend. This PR changes the recommended Node.js
    version to 18 (the current LTS version). I have also tested with 16 and
    20 and it works.
    
    I also took the opportunity to:
    
    - move the build script that was at the project root to the `bin/`
    folder
    - update the `browserslist` to target Electron 24 (which is the version
    we currently build against). This results in a slightly smaller bundle
    due to no longer having to transpile optional chaining.
    Update recommended version to Node.js 18 (#1117)
    Jed Fox authored
    After #1115, new Node.js versions will be able to be used for
    development of the frontend. This PR changes the recommended Node.js
    version to 18 (the current LTS version). I have also tested with 16 and
    20 and it works.
    
    I also took the opportunity to:
    
    - move the build script that was at the project root to the `bin/`
    folder
    - update the `browserslist` to target Electron 24 (which is the version
    we currently build against). This results in a slightly smaller bundle
    due to no longer having to transpile optional chaining.
Dockerfile 418 B
###################################################
# This Dockerfile is used by the docker-compose.yml
# file to build the development container.
# Do not make any changes here unless you know what
# you are doing.
###################################################

FROM node:18-bullseye as dev
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y openssl
WORKDIR /app
CMD ["sh", "./bin/docker-start"]