This commit is contained in:
David Friedrich 2024-11-08 07:51:28 +01:00
commit 98e799b7df
21 changed files with 1936 additions and 0 deletions

20
Dockerfile Normal file
View 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