You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building the Wikmd Docker image, builds fail when attempting to install Python requirements because the requirements.txt file is not available to the Docker daemon (it's not in the docker folder):
**** install pip requirements ****
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
ERROR: Service 'wikmd' failed to build: The command '/bin/sh -c echo "**** install wikmd dependencies ****" && apt-get update -y && apt-get install -y python3-pip python3-dev pandoc git libxml2-dev libxslt1-dev && echo "**** install pip requirements ****" && cd /app/wikmd && pip3 install -r requirements.txt && echo "**** cleanup ****" && apt-get -y purge python3-pip && apt-get -y autoremove && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /root/.cache' returned a non-zero code: 1
This can be fixed by simply copying the requirements.txt file into the Docker build context:
cp requirements.txt docker
Not sure how you want to handle this for your development process, but I thought I'd report the issue.
The text was updated successfully, but these errors were encountered:
When building the Wikmd Docker image, builds fail when attempting to install Python requirements because the
requirements.txt
file is not available to the Docker daemon (it's not in thedocker
folder):This can be fixed by simply copying the
requirements.txt
file into the Docker build context:Not sure how you want to handle this for your development process, but I thought I'd report the issue.
The text was updated successfully, but these errors were encountered: