docker-redis - local tests

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-10-02 00:50:40 -04:00
parent 04dec6d91c
commit ddb0990645
4 changed files with 10 additions and 14 deletions

View File

@@ -26,6 +26,9 @@ WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install Nodemon
RUN npm install -g nodemon
# Install dependencies
RUN npm install --omit=dev
@@ -36,4 +39,4 @@ COPY . .
EXPOSE 4000
# Start the application
CMD ["node", "server.js"]
CMD ["nodemon", "--legacy-watch", "server.js"]