# Use an official Node.js image as the base FROM node:18-alpine # Set the working directory inside the container WORKDIR /app # Install web-terminal globally RUN npm install -g 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"]