diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index d494ada..eb83743 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -8,6 +8,9 @@ FROM python:3
# Copy default endpoint specific user settings overrides into container to specify Python path
COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/Machine/settings.json
+# Install pylint
+RUN pip install pylint
+
# Install git, process tools
RUN apt-get update && apt-get -y install git procps
@@ -21,9 +24,6 @@ WORKDIR /workspace
COPY .devcontainer/requirements.txt.temp requirements.txt* /workspace/
RUN if [ -f "requirements.txt" ]; then pip install -r requirements.txt && rm requirements.txt*; fi
-# Expose port 5000 as the default web port
-EXPOSE 5000
-
# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 438d7c7..38c5c32 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -4,7 +4,6 @@
"appPort": 9000,
"context": "..",
"extensions": [
- "ms-python.python",
- "VisualStudioExptTeam.vscodeintellicode"
+ "ms-python.python"
]
}
diff --git a/README.md b/README.md
index 19bb2c4..c2fff4b 100644
--- a/README.md
+++ b/README.md
@@ -14,13 +14,13 @@ Some things to try:
1. Open `server.py`
2. Try adding some code and check out the language features.
2. **Terminal:** Press ctrl+shift+\` and type `uname` and or other Linux commands from the terminal window.
-2. **Build, Run, and Debug:**
+3. **Build, Run, and Debug:**
1. Open `sever.py`
2. Add a breakpoint (e.g. on line 13).
3. Press F5 to launch the app in the container.
4. Once the breakpoint is hit, try hovering over variables, examining locals, and more.
5. Continue, then open a local browser and go to `http://localhost:9000` and note you can connect to the server in the container
-3. **Forward another port:**
+4. **Forward another port:**
1. Stop debugging and remove the breakpoint.
2. Open `sever.py`
3. Change the server port to 5000. (`PORT = 5000`)
diff --git a/server.py b/server.py
index 7550e31..1c481b4 100644
--- a/server.py
+++ b/server.py
@@ -11,5 +11,5 @@ RequestHandler = http.server.SimpleHTTPRequestHandler
PORT = 5000
with socketserver.TCPServer(("", PORT), RequestHandler) as httpd:
- print("Server runnong on port", PORT)
+ print("Server running on port", PORT)
httpd.serve_forever()
\ No newline at end of file