fix build and update deps

This commit is contained in:
Jannik Streek
2023-02-09 17:21:25 +01:00
parent 7bf611f1c9
commit 62c11246a5
2 changed files with 6 additions and 22 deletions

View File

@ -1,4 +1,7 @@
FROM node:16-alpine
FROM node:18-bullseye-slim
RUN apt-get update && apt-get install -y make g++ python3
RUN ln -sf /usr/bin/python3 /usr/bin/python
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app