Ok, one more

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

View File

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