Skip to content

Instantly share code, notes, and snippets.

@hardik-vala
Created May 9, 2022 13:28
Show Gist options
  • Save hardik-vala/53461fdc6d0c4488977020e714333218 to your computer and use it in GitHub Desktop.
Save hardik-vala/53461fdc6d0c4488977020e714333218 to your computer and use it in GitHub Desktop.
Dockerfile for running containerized Remix daemon
FROM node:latest
EXPOSE 65520
EXPOSE 65523
EXPOSE 65522
ENV PROJECT_DIR="/root/project"
WORKDIR $PROJECT_DIR
COPY . $PROJECT_DIR
RUN npm install -g @remix-project/remixd
RUN sed -i s/127.0.0.1/0.0.0.0/g /usr/local/lib/node_modules/@remix-project/remixd/src/websocket.js
CMD remixd -s $PROJECT_DIR --remix-ide https://remix.ethereum.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment