Browse Source

Use best practices for CMD parameters

See the section at
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/
pull/956/head
Julian Simioni 7 years ago
parent
commit
4f7b041f72
No known key found for this signature in database
GPG Key ID: 6DAD08919FDBF563
  1. 3
      Dockerfile

3
Dockerfile

@ -26,4 +26,5 @@ ADD pelias.json.docker pelias.json
RUN chown -R 9999:9999 ${WORK}
USER 9999
CMD npm start
# start service
CMD [ "npm", "start" ]

Loading…
Cancel
Save