Skip to content

Commit

Permalink
Merge pull request #611 from pyupio/fix-dev-container
Browse files Browse the repository at this point in the history
fix/dev container fix
  • Loading branch information
SafetyQuincyF authored Oct 18, 2024
2 parents 0065432 + be42d8e commit e2a5224
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 e2a5224

Please sign in to comment.