This commit is contained in:
marcgauch committed 2023-12-14 19:37:24 +01:00
1 parent 6d2239cc39
commit 2cc5981bba
18 files changed
+618 -204

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# Use the official Node.js image
FROM node:14
# Create and set the working directory
WORKDIR /usr/src/app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the server.js file to the working directory
COPY server.js .
# Expose the port the app runs on
EXPOSE 3000
# Command to run the application
CMD ["node", "server.js"]