From 8ff7cbde64ce852b3374c36a142abc3cf1b806ed Mon Sep 17 00:00:00 2001 From: supositware Date: Thu, 20 May 2021 00:02:57 +0200 Subject: [PATCH] Correctly set the environment variable --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e3f433f..1567cd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,12 +13,12 @@ RUN npm i -g pm2 RUN echo "[]" > proxy/proxy.json -RUN NODE_ENV=production +ENV NODE_ENV=production -RUN PORT=3333 +ENV PORT=3333 RUN apt-get update && apt-get install -y ffmpeg EXPOSE 3333 -CMD ["pm2-runtime", "bin/www"] \ No newline at end of file +CMD ["pm2-runtime", "bin/www"]