1
0
peddlers-of-ketran/Dockerfile.dev

8 lines
303 B
Docker

FROM node:20-alpine
WORKDIR /server
# For dev, we install in container, but to speed up, perhaps copy package and install
# But since volumes mount, just run npm install in command
CMD ["sh", "-c", "cd /server && npm install --no-audit --no-fund --silent && npm rebuild sqlite3 && npm run start:dev"]