chat-vs-chat / Dockerfile
victor's picture
victor HF Staff
:)
6d49714
raw
history blame contribute delete
405 Bytes
# Use an official Node.js runtime as a parent image
FROM node:18
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Install any needed packages specified in package.json
RUN npm install
# Make port 3000 available to the world outside this container
EXPOSE 3000
# Run the app when the container launches
CMD ["npm", "start"]