Created
May 9, 2022 13:28
-
-
Save hardik-vala/53461fdc6d0c4488977020e714333218 to your computer and use it in GitHub Desktop.
Dockerfile for running containerized Remix daemon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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