File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1- # base from official Node (Alpine LTS) image
1+ # Base from official Node (Alpine LTS) image
22FROM node:lts-alpine
33
4- # install simple http server for serving static content
4+ # Install system dependencies for native modules and Python distutils
5+ RUN apk update && apk add --no-cache \
6+ build-base \
7+ python3 \
8+ py3-setuptools
9+
10+ # Install simple http server for serving static content
511RUN npm install -g http-server
612
7- # install typescript compiler
13+ # Install TypeScript compiler
814RUN npm install -g typescript
915
10- # install ts-node (to run/debug .ts files without manual transpiling)
16+ # Install ts-node (to run/debug .ts files without manual transpiling)
1117RUN npm install -g ts-node
1218
13- # set /app as working directory (in development mode for mounting source code)
19+ # Set /app as working directory (in development mode for mounting source code)
1420WORKDIR /app
1521
16- # override default CMD for image ("node"): launch the shell
22+ # Override default CMD for image ("node"): launch the shell
1723CMD sh
1824
1925# Listen on ports
Original file line number Diff line number Diff line change 1- ---
2- # Documentation: https://docs.docker.com/compose/compose-file/compose-file-v3/
3-
4- version : ' 3.8'
51services :
62 musicblocks :
73 build : ./
84 image : ghcr.io/sugarlabs/musicblocks:4-dev
9- env_file :
10- - ./env/development.env
115 ports :
126 - ' 5173:5173' # development server
137 - ' 4173:4173' # production preview server
You can’t perform that action at this time.
0 commit comments