-
Notifications
You must be signed in to change notification settings - Fork 1k
Improve Docker Support #1145
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
Improve Docker Support #1145
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
FROM python:3.8-slim-buster | ||
FROM python:3.9-slim-buster | ||
|
||
WORKDIR /pymodbus | ||
|
||
EXPOSE 8080 | ||
EXPOSE 5020 | ||
|
||
COPY . . | ||
|
||
RUN pip3 install -r requirements.txt && pip3 install -e . | ||
RUN pip install -r requirements.txt && pip install -e . | ||
|
||
|
||
CMD [ "pymodbus.server", "--host", "127.0.0.1", "--web-port", "8080", "--no-repl", "run", "--modbus-port", "5020", "--modbus-server", "tcp" ] |
Uh oh!
There was an error while loading. Please reload this page.