Simplify compiling and running

This commit is contained in:
Daniel Løvbrøtte Olsen
2019-02-27 14:36:13 +01:00
parent 1cb6d03765
commit e54be5da02
4 changed files with 12 additions and 1 deletions

View File

@@ -4,5 +4,6 @@ WORKDIR /server
COPY . /server
RUN npm install
RUN mkdir build && npm build
CMD [ "npm", "start" ]