Correctly set the environment variable

This commit is contained in:
supositware 2021-05-20 00:02:57 +02:00
parent 97158b2ecf
commit 8ff7cbde64

View file

@ -13,12 +13,12 @@ RUN npm i -g pm2
RUN echo "[]" > proxy/proxy.json 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 RUN apt-get update && apt-get install -y ffmpeg
EXPOSE 3333 EXPOSE 3333
CMD ["pm2-runtime", "bin/www"] CMD ["pm2-runtime", "bin/www"]