Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Merlijn Wajer
Python Derivermodule
Commits
4e780663
Commit
4e780663
authored
Oct 22, 2021
by
Merlijn Wajer
Browse files
doc: index: remove wheel references
parent
b40eb1df
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/source/index.rst
View file @
4e780663
...
...
@@ -93,27 +93,15 @@ From the root directory of your project, run these steps:
WORKDIR /app
RUN apk add py3-lxml py3-xmltodict
RUN pip3 install internetarchive-deriver-module
ADD main.py /app
ADD docker-bin/derivermodule-0.0.1-py3-none-any.whl /app/bin/
RUN pip3 install -U /app/bin/derivermodule-0.0.1-py3-none-any.whl
CMD python3 main.py
2. Build a wheel from ``derivermodule`` (from the directory of
``python-derivermodule``) using::
python3 setup.py bdist_wheel
3. Copy the wheel to your project, in docker-bin::
mkdir docker-bin
cp -v /path/to/derivermodule/dist/*.whl docker-bin
4. Create ``main.py``, the starting point of your module
2. Create ``main.py``, the starting point of your module
5
. Build the container (pick a name other than ``example_container``)::
3
. Build the container (pick a name other than ``example_container``)::
sudo docker build -t example-container .
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment