File tree 3 files changed +26
-5
lines changed
3 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 12
12
.pytest_cache /
13
13
.idea /
14
14
.vscode /
15
+ * .egg-info /
16
+ build /
17
+ dist /
Original file line number Diff line number Diff line change @@ -40,11 +40,15 @@ USER appuser
40
40
COPY --from=builder --chown=appuser:appuser /opt/venv /opt/venv
41
41
ENV PATH="/opt/venv/bin:$PATH"
42
42
43
- # Copy application files
44
- COPY --chown=appuser:appuser . .
45
-
46
- # Install package in development mode
47
- RUN pip install -e .
43
+ # Copy application files (excluding .dockerignore patterns)
44
+ COPY --chown=appuser:appuser setup.py .
45
+ COPY --chown=appuser:appuser pyproject.toml .
46
+ COPY --chown=appuser:appuser requirements.txt .
47
+ COPY --chown=appuser:appuser src/ ./src/
48
+ COPY --chown=appuser:appuser config/ ./config/
49
+
50
+ # Install the package
51
+ RUN pip install .
48
52
49
53
# Health check
50
54
HEALTHCHECK --interval=30s --timeout=10s \
Original file line number Diff line number Diff line change
1
+ from setuptools import setup , find_packages
2
+
3
+ setup (
4
+ name = "spyware-detector" ,
5
+ version = "0.1" ,
6
+ packages = find_packages (),
7
+ install_requires = [
8
+ "pandas==1.5.3" ,
9
+ "numpy==1.23.5" ,
10
+ "scikit-learn==1.2.2" ,
11
+ "PyYAML==6.0" ,
12
+ ],
13
+ python_requires = ">=3.9" ,
14
+ )
You can’t perform that action at this time.
0 commit comments