chore: upgrade Node.js base image to v22-alpine and add node_modules volume mount
This commit is contained in:
parent
d2b88f4e59
commit
340bbd22b9
@ -1,5 +1,5 @@
|
||||
# Use an official Node.js runtime as a parent image
|
||||
FROM node:14
|
||||
FROM node:22-alpine
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
@ -17,5 +17,6 @@ services:
|
||||
volumes:
|
||||
- .:/usr/src/app
|
||||
- ./data:/usr/src/app/data
|
||||
- /usr/src/app/node_modules
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user