WOHOO actual dev scripts now
This commit is contained in:
parent
afdf62b7cb
commit
6e82e1fbe8
18 changed files with 634 additions and 763 deletions
|
@ -5,10 +5,11 @@ RUN yarn install --production
|
|||
RUN yarn global add typescript
|
||||
RUN tsc
|
||||
RUN mkdir /app
|
||||
RUN cp -r /tmp/build/* /app
|
||||
RUN cp -r /tmp/data/default_posts /app/default_posts
|
||||
RUN cp -r /tmp/*.json /app
|
||||
RUN cp -r /tmp/build/src /app
|
||||
RUN cp -r /tmp/src/views /app/src/
|
||||
RUN cp -r /tmp/data.template/ /app/data.template
|
||||
RUN cp -r /tmp/node_modules /app
|
||||
RUN cp -r /tmp/data/default_templates /app/default_templates
|
||||
COPY ./scripts/docker_run.sh /app/run.sh
|
||||
WORKDIR /app
|
||||
CMD ["/app/run.sh"]
|
||||
CMD ["npm", "run", "docker:prod:run"]
|
||||
|
|
Reference in a new issue