NEWTESTD / Dockerfile
clone3's picture
Create Dockerfile
44cc3ee verified
raw
history blame
356 Bytes
# 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"]