tor-relay/docker/whisper/Dockerfile

19 lines
393 B
Docker

# Use an official Node runtime as a parent image
FROM node:20-alpine
# Set the working directory
WORKDIR /usr/src/app
# Clone the repo
RUN apk --no-cache add git \
&& git clone https://github.com/xenova/whisper-web.git .
# Install dependencies
RUN npm install
# Expose the port the app runs on
EXPOSE 5173
# Command to run the app
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]