chore(docs): remove older Docker files (#426)

This commit is contained in:
Vlad Filippov 2016-11-01 14:11:51 -04:00 коммит произвёл GitHub
Родитель eab8625a8d
Коммит 370c898bc1
2 изменённых файлов: 7 добавлений и 22 удалений

Просмотреть файл

@ -1,11 +0,0 @@
FROM ubuntu:trusty
RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install nodejs npm
RUN ln -sf /usr/bin/nodejs /usr/local/bin/node
RUN useradd --home-dir /opt/fxa fxa
USER fxa
WORKDIR /opt/fxa
CMD npm start

Просмотреть файл

@ -1,4 +1,4 @@
#Firefox Accounts OAuth Server
# Firefox Accounts OAuth Server
[![Build Status](https://travis-ci.org/mozilla/fxa-oauth-server.svg?branch=master)](https://travis-ci.org/mozilla/fxa-oauth-server)
@ -10,16 +10,12 @@ Implementation of OAuth for use by Firefox Accounts
[MDN docs](https://developer.mozilla.org/en-US/Firefox_Accounts)
## Quick Start
Clone the repository, run `npm install` and `npm start`.
To get a full development setup running use [fxa-local-dev](https://github.com/mozilla/fxa-local-dev). fxa-local-dev is the preferred way of contributing to Firefox Accounts.
## License
MPL 2.0
## Docker Based Development
To run the oauth server via Docker, three steps are required:
$ docker build --rm -t mozilla/fxa_oauth_server
$ docker run --rm -v $PWD:/opt/fxa mozilla/fxa_oauth_server npm install
$ docker run --rm -v $PWD:/opt/fxa --net=host mozilla/fxa_oauth_server
This method shares the codebase into the running container so that you can install npm and various modules required by package.json. It then runs FxA oauth verifier in a container, while allowing you to use your IDE of choice from your normal desktop environment to develop code.