Skip to content

Commit

Permalink
Merge pull request #5 from crawlab-team/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Marvin Zhang authored Sep 12, 2019
2 parents 82afe7b + d42f3c6 commit c332cef
Show file tree
Hide file tree
Showing 208 changed files with 1,106 additions and 7,610 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/node_modules
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ logs/
.idea/
tmp/
yarn.lock
.DS_Store
package-lock.json
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea
.DS_Store
node_modules
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM tikazyq/crawlab:latest

ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 8.12.0

RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.24.0/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install v$NODE_VERSION \
&& nvm use v$NODE_VERSION \
&& nvm alias default v$NODE_VERSION
ENV NODE_PATH $NVM_DIR/versions/node/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH

# frontend port
EXPOSE 8080

# backend port
EXPOSE 8000

# start backend
CMD ["/bin/sh", "/app/docker_init.sh"]
7 changes: 0 additions & 7 deletions backend/.editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions backend/.gitignore

This file was deleted.

Loading

0 comments on commit c332cef

Please sign in to comment.