# Use Node.js v14 as the base image | |
FROM node:14-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"] | |