mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-25 05:32:20 +00:00
88ff542aeb
- Fixed ignore patterns in .dockerignore - Added healthchecks to backend and web containers - Reduced Docker image sizes - Removed RaSCSI references in various areas (e.g. rascsi -> backend) - Added compilation-only step to easyinstall.sh - Moved apt package lists to variables - Revert to triggering GitHub Actions runs on push - Updated web/frontend_checks workflow to run black and flake8 against all Python sources - Capture log files from backend/web containers - Fix None to float conversion bug when user agent is absent or unrecognised
13 lines
280 B
Docker
13 lines
280 B
Docker
FROM python:3.7-slim
|
|
ENV DOCKER=1
|
|
|
|
WORKDIR /src
|
|
|
|
COPY python/web/requirements-dev.txt /src/requirements-dev.txt
|
|
COPY python/web/pyproject.toml /src/pyproject.toml
|
|
COPY python/web/tests /src/tests
|
|
|
|
RUN pip install --no-cache-dir -r /src/requirements-dev.txt
|
|
|
|
ENTRYPOINT ["pytest"]
|