feat: Add docker

This commit is contained in:
2023-10-23 14:12:38 +11:00
parent 945ebd2e08
commit e5b7f7d1e7
2 changed files with 23 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# Use an official Node.js runtime as the base image
FROM node:14
# Set the working directory in the container
WORKDIR /app
# Copy your application files to the container
COPY . .
# Command to run your Node.js application
CMD ["node", "build/hip2-server.js", "3000"]
# docker run -p 3000:3000 -v ~/Downloads/xpub:/app/conf/xpub