First
This commit is contained in:
commit
98e799b7df
21 changed files with 1936 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
FROM node:22.9
|
||||
|
||||
# We have to install nodemon globally before moving into the working directory
|
||||
RUN npm install -g nodemon
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install app dependencies
|
||||
# A wildcard is used to ensure both package.json AND package-lock.json are copied
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ./start.sh
|
Loading…
Add table
Add a link
Reference in a new issue