update compose to link memcached correctly
This commit is contained in:
1 parent
1dae591ad5
commit
e1f7404c8d
3 files changed
+7
-2
No files matched your search
+2
-1
@@ -44,7 +44,8 @@ WORKDIR loader
|
||||
|
||||
EXPOSE 3001
|
||||
ENV NODE_ENV=production
|
||||
ENV MEMCACHE_ADDR="localhost:11211"
|
||||
|
||||
WORKDIR /srv/cprush-stats
|
||||
RUN npm install
|
||||
CMD ["node", "app.js"]
|
||||
CMD ["sh", "-c", "node app.js -m $MEMCACHE_ADDR"]
|
||||
Reference in new issue
Block a user