-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
41 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
FROM tikazyq/crawlab:latest | ||
FROM jelastic/nodejs:8.16.1-npm | ||
|
||
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"] | ||
COPY . /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters