Code Monkey home page Code Monkey logo

nekoserverdocker's Introduction

DockerFile for nekoserver

Simple yet functional dockerfile file to create nekoserver image with pre-configured apache so you can test your application / web page quickly.

  • You can configure an external volume, which will be used for your application / web page or
  • Copy the files into the container

What is this image for?

  • To test applications, websites or the like and related, using the neko server as a backend;
  • If you have installation restrictions for a server of this type;
  • If you don't want to install neko or hash on your machine, but still have applications that use neko and need to perform tests

How to use

  1. clone or download the dockerfile file
  2. Access the folder or location where this file is located
  3. on the command line do: sudo docker build -t [image name] .
  4. The image will be built. Next to create the container, do:
  • with access to a volume on the host: sudo docker run -it -p [desirable port on host]:80 --name [name of container] -v [location for your application contained on host]:/var/www/html/[image created above]
  • no volume on the host: sudo docker run -it -p [desirable port on host]:80 --name [name of container] [image created above]

You should copy your installation files to the /var/www/html/ folder if you are not using a volume on the host

In a few minutes the container will be initialized and you can test your neko application

Comments

  • You can change the contents of the dockerfile. For example in HAXE_VERSION or NEKO_VERSION you can choose a previous version number

nekoserverdocker's People

Contributors

henriqueog avatar

Watchers

 avatar  avatar

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.