Skip to content

Commit

Permalink
devcontainer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SafetyQuincyF committed Oct 23, 2024
1 parent 0065432 commit db8b405
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ RUN apt-get update && \
# Copy project files into the container (relative to the build context)
COPY . /app/

# Expose port 49152
EXPOSE 49152

# Switch to the non-root user for security reasons
USER appuser
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
"postCreateCommand": "pip install -r test_requirements.txt && pip install ruff requests pre-commit",
"remoteUser": "root",
"workspaceFolder": "/workspaces/safety",
"forwardPorts": [49152]
}

0 comments on commit db8b405

Please sign in to comment.