# Use Node.js v12 as the base image FROM node:12-alpine # Set the working directory inside the container WORKDIR /app # Install an older version of commander and web-terminal globally RUN npm install -g commander@2.20.0 web-terminal # Expose the port on which web-terminal will run EXPOSE 8088 # Define the default command to run web-terminal on port 8088 CMD ["web-terminal", "--port", "8088"]