Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

#

ReplayerFront

#

spitfjre/Replayerfront

#

BUILD: docker build -t spitfjre/replayerfront -f ./Dockerfile_ReplayerFront .

#

RUN (service) : docker create --name videos spitfjre/videos

docker run --volumes-from videos -d -p 3002:3002 spitfjre/replayerfront

#
FROM itsatony/nodejs-service-base

Install Nginx.

RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y nginx-extras

Setup Nginx

ADD /nginx/replayer_conf /etc/nginx/sites-available/
RUN ln -s /sites-available/replayer_conf /etc/nginx/sites-enabled/
ADD /nginx/nginx.conf /etc/nginx/

Expose ports.

EXPOSE 80
EXPOSE 3002
EXPOSE 5000
EXPOSE 443

WORKDIR /ReplayerFront
ADD . /ReplayerFront/

CMD ["/ReplayerFront/entrypoint.sh" ]


#!/bin/bash
set -e

printenv

service nginx start
npm start

Docker Pull Command
Owner
spitfjre

Comments (0)