-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: added dockerfile and docker image push workflow for edx-analytics-dashboard #34
feat: added dockerfile and docker image push workflow for edx-analytics-dashboard #34
Conversation
edx-analytics-dashboard
# No need to activate insights virtualenv as it is already activated by putting in the path | ||
RUN virtualenv -p python${PYTHON_VERSION} --always-copy ${INSIGHTS_VENV_DIR} | ||
|
||
ENV PATH="${INSIGHTS_CODE_DIR}/node_modules/.bin:$PATH" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to specify workdir here
WORKDIR ${INSIGHTS_CODE_DIR}/
# Create required directories for requirements
RUN mkdir -p requirements
RUN pip install virtualenv | ||
|
||
# Create required directories for requirements | ||
RUN mkdir -p requirements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will create this dir after specifying workdir
|
||
FROM app as dev | ||
|
||
RUN curl -L -o requirements/local.txt https://raw.githubusercontent.com/edx/edx-analytics-dashboard/master/requirements/local.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to download this file at this stage.
We are extending dev
from app
so it should be already available.
Issue: #19
Description
PR adds
Dockerfile
along with workflow to build & push docker image foredx-analytics-dashboard
.