mirror of
https://github.com/qeeqbox/social-analyzer.git
synced 2026-09-28 12:34:51 +02:00
Exposing the service's port in the Dockerfile
This change enables docker users to use the -P flag to automatically map local ports to the exposed ports.
This commit is contained in:
+3
-1
@@ -5,4 +5,6 @@ COPY package*.json ./
|
||||
RUN npm install lodash
|
||||
RUN npm install
|
||||
COPY . .
|
||||
CMD [ "npm", "start" ]
|
||||
|
||||
EXPOSE 9005
|
||||
CMD [ "npm", "start" ]
|
||||
|
||||
Reference in New Issue
Block a user