Coder Social home page Coder Social logo

Request for docker image about wireflow HOT 5 CLOSED

vanila-io avatar vanila-io commented on August 22, 2024
Request for docker image

from wireflow.

Comments (5)

entrptaher avatar entrptaher commented on August 22, 2024 2

The current version is pretty old, but hold on, let me create one, since it will also improve development setup.

from wireflow.

bluenevus avatar bluenevus commented on August 22, 2024

Thanks!!!

from wireflow.

bluenevus avatar bluenevus commented on August 22, 2024

any luck on that docker image?

from wireflow.

entrptaher avatar entrptaher commented on August 22, 2024

Clone the repo and use the following docker file, all preconfigured just as explained on the linux setup. :D

Here are the steps.

Create a Dockerfile:

FROM node:8

# Install all dependencies
RUN apt-get update
RUN apt-get install -y curl build-essential g++ libcairo2-dev libjpeg-dev libgif-dev libpango1.0-dev libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev build-essential g++

# Install meteor 1.6
RUN curl https://install.meteor.com/?release=1.6 | /bin/sh
RUN meteor npm install -g yarn node-gyp

# Install Packages
ADD . /opt/wireflow
WORKDIR /opt/wireflow
RUN meteor yarn --ignore-optional
# The dependencies changed since then
RUN meteor yarn add bufferutil utf-8-validate canvas xmldom --ignore-optional

# Set environment variables 
ENV LC_ALL C
ENV METEOR_ALLOW_SUPERUSER true

# Expose ports
EXPOSE 3000

# Start the app
CMD yarn run start

Build it:

sudo docker build -t wireflow .

Run it:

sudo docker run --net=host -it wireflow

Here are the drawbacks of this strategy:

  • You will get this warning (Even with METEOR_ALLOW_SUPERUSER ...), however it's sufficient to run meteor at this point.
  • This will run as a development version, not a production version.

from wireflow.

entrptaher avatar entrptaher commented on August 22, 2024

Feel free to reopen if this does not solve.

from wireflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.