Panel / Dockerfile
Niansuh's picture
Create Dockerfile
2e95ffd verified
raw
history blame
243 Bytes
# Base image
FROM node:16
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Bundle app source
COPY . .
# Expose the app's port
EXPOSE 3000
# Run the app
CMD [ "node", "app.js" ]