Correctly set the environment variable
This commit is contained in:
parent
97158b2ecf
commit
8ff7cbde64
1 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue