From 53cd2f7e1206e58f6dd5760fbeeba5dd3c9dfcce Mon Sep 17 00:00:00 2001 From: SafetyQuincyF Date: Thu, 17 Oct 2024 18:37:03 -0700 Subject: [PATCH] devcontainer fix --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b2193dd6..1f89659f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -24,7 +24,7 @@ RUN apt-get update && \ COPY . /app/ # Expose port 49152 -EXPOSE 49152 +# EXPOSE 49152 # Switch to the non-root user for security reasons USER appuser diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6cf68fb2..20c25d99 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,4 +15,5 @@ "postCreateCommand": "pip install -r test_requirements.txt && pip install ruff requests pre-commit", "remoteUser": "root", "workspaceFolder": "/workspaces/safety", + "forwardPorts": [49152] }