DockerMC/.docker/io.github.TBMCPlugins.FlatMC.yml
Norbi Peti 9257f94dbe
Begin switch to Flatpak, because I can
Finally got it to actually have NodeJS available
2022-08-25 03:08:16 +02:00

23 lines
625 B
YAML

app-id: io.github.TBMCPlugins.FlatMC
runtime: org.freedesktop.Sdk # Has to be SDK instead of Platform because we need the NodeJS SDK extension
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: start.sh
modules:
- name: HelloTeszt
buildsystem: simple
build-commands:
- npm install --offline
- npm run build
- install -d dist /app/bin/dist
- install -D start.sh /app/bin/start.sh
sources:
- type: dir
path: ../src
- type: file
path: runner/start.sh
sdk-extensions:
- org.freedesktop.Sdk.Extension.node16
build-options:
append-path: /usr/lib/sdk/node16/bin