GithubHelp home page GithubHelp logo

thesneakt1 / pacman Goto Github PK

View Code? Open in Web Editor NEW

This project forked from font/pacman

0.0 0.0 0.0 1.66 MB

Pac-Man

License: GNU General Public License v3.0

Shell 0.93% JavaScript 75.31% CSS 13.54% HTML 9.95% Dockerfile 0.27%

pacman's Introduction

pacman

Pac-Man

Install dependencies

npm install

Getting started

npm run start

Development

npm run dev

Create Application Container Image

Docker Container Image

The Dockerfile performs the following steps:

  1. It is based on Node.js LTS Version 6 (Boron).
  2. It then clones the Pac-Man game into the configured application directory.
  3. Exposes port 8080 for the web server.
  4. Starts the Node.js application using npm start.

To build the image run:

cd docker
docker build -t <registry>/<user>/pacman-nodejs-app .

You can test the image by running:

docker run -p 8000:8080 <registry>/<user>/pacman-nodejs-app

And going to http://localhost:8000/ to see if you get the Pac-Man game.

Once you're satisfied you can push the image to the container registry.

docker push <registry>/<user>/pacman-nodejs-app

Building using an s2i image

s2i build . centos/nodejs-6-centos7 pacman

pacman's People

Contributors

codificat avatar dav1x avatar detiber avatar font avatar mvazquezc 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.