initial commit

Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2024-12-01 16:36:36 +01:00
commit d9a76c9a9f
Se han modificado 7 ficheros con 290 adiciones y 0 borrados

8
Dockerfile Archivo normal
Ver fichero

@@ -0,0 +1,8 @@
FROM node:22-bookworm
RUN apt update && apt install -y bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin && apt clean
RUN setcap cap_net_raw+eip $(eval readlink -f `which node`)
USER node
COPY --chown=node:node ./wble /wble
WORKDIR /wble
RUN yarn && yarn build
ENTRYPOINT ["yarn", "start"]