You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that this project relies on many dependencies, could you consider providing Dockerfile and run_in_docker.sh , that will allow smooth build and running on different platforms ? (especially Linux, so could be also run_in_docker_for_linux.sh for now?)
The text was updated successfully, but these errors were encountered:
Dockerized openai-realtime-console server not accessible from browser*
Description
When running the openai-realtime-console project in a Docker container, the server starts and logs Server listening at http://127.0.0.1:3000. However, it is not accessible from the host browser.
Steps to Reproduce
Clone the repository:
git clone https://github.com/openai/openai-realtime-console.git
cd openai-realtime-console
Create a Dockerfile:
FROM node:18-bullseye
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]
Build the Docker image:
docker build -t openai-realtime-console .
Run the Docker container:
docker run -p 3000:3000 -e OPENAI_API_KEY="$OPENAI_API_KEY" openai-realtime-console
Open http://localhost:3000 in a browser.
Expected Behavior
The server should be accessible from the browser at http://localhost:3000.
Actual Behavior
The server is not accessible from the host browser. Logs show:
2024-12-22 16:55:44.279+0000 - info - Server listening at http://[::1]:3000
2024-12-22 16:55:44.280+0000 - info - Server listening at http://127.0.0.1:3000
Bonus points: if you provide working Dockerfile and README.md instructions helping users to run it safely isolated not only in Docker but also using Kata Containers and/or gVisor.
gwpl
changed the title
Please provide Dockerfile to make easy build and run across different platforms
Dockerized openai-realtime-console server not accessible from browser
Dec 22, 2024
Given that this project relies on many dependencies, could you consider providing
Dockerfile
andrun_in_docker.sh
, that will allow smooth build and running on different platforms ? (especially Linux, so could be alsorun_in_docker_for_linux.sh
for now?)The text was updated successfully, but these errors were encountered: