From 66b97d7a17b2e1944938e85a3c178f0ec98d40b0 Mon Sep 17 00:00:00 2001 From: Mohamed El Mahallawy Date: Mon, 14 Nov 2016 17:40:33 -0800 Subject: [PATCH] return dockerfile as is --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index de21e1322..a43d27e73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,15 @@ FROM node:6.3 +ENV NODE_ENV production +ENV API_URL http://api.quran.com:3000 +ENV SENTRY_KEY_CLIENT https://44c105328ae544ae9928f9eb74b40061@app.getsentry.com/80639 +ENV SENTRY_KEY_SERVER https://44c105328ae544ae9928f9eb74b40061:41ca814d33124e04ab450104c3938cb1@app.getsentry.com/80639 +# It's okay because it's only the APP ID +ENV FACEBOOK_APP_ID 1557596491207315 +ENV ONE_QURAN_URL https://one.quran.com +ENV PORT 8000 +ENV NODE_PATH "./src" + RUN apt-get -y update && apt-get -y install supervisor ssh rsync # logrotate @@ -20,16 +30,6 @@ RUN cp -a /tmp/node_modules /quran WORKDIR /quran ADD . /quran/ -ENV NODE_ENV production -ENV API_URL http://api.quran.com:3000 -ENV SENTRY_KEY_CLIENT https://44c105328ae544ae9928f9eb74b40061@app.getsentry.com/80639 -ENV SENTRY_KEY_SERVER https://44c105328ae544ae9928f9eb74b40061:41ca814d33124e04ab450104c3938cb1@app.getsentry.com/80639 -# It's okay because it's only the APP ID -ENV FACEBOOK_APP_ID 1557596491207315 -ENV ONE_QURAN_URL https://one.quran.com -ENV PORT 8000 -ENV NODE_PATH "./src" - RUN npm run build:client RUN npm run build:server