This commit is contained in:
Hexagon 2017-01-15 01:01:35 +01:00
parent ab532cb938
commit 2eb2c8ad31
1 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,6 @@ WORKDIR /usr/src/app
COPY . /usr/src/app COPY . /usr/src/app
RUN npm install RUN npm install
EXPOSE 8080 EXPOSE 8080
RUN ["chmod", "+x", "/usr/src/app/docker-entrypoint.sh"] COPY docker-entrypoint.sh /
ENTRYPOINT [ "/usr/src/app/docker-entrypoint.sh" ] ENTRYPOINT ["/docker-entrypoint.sh"]
CMD [ "npm", "start"] CMD [ "npm", "start"]