From 4513326efec21aa9cdce3d8b5628ff360d03e005 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 9 Jun 2024 02:24:55 +0530 Subject: [PATCH] Update dockerfile --- Dockerfile | 7 +++++-- requirements.txt | Bin 668 -> 752 bytes 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38c7b29..b0b739a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ ADD requirements.txt /steam-stats/requirements.txt # Install Python dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ git \ - && pip install --no-cache-dir -r /steam-stats/requirements.txt && pip install Playwright && python -m playwright install firefox \ + && pip install --no-cache-dir -r /steam-stats/requirements.txt \ + && playwright install firefox\ && apt-get purge -y --auto-remove \ && rm -rf /var/lib/apt/lists/* @@ -26,7 +27,9 @@ RUN git config --global user.email "action@github.com" \ && git config --global user.name "GitHub Action" # Copy only the necessary application code into the container -ADD api/* /steam-stats/ +ADD api/ /steam-stats/api/ +ADD assets/ /steam-stats/assets/ +ADD README.md /steam-stats/ # Command to run the application CMD ["python", "api/main.py"] diff --git a/requirements.txt b/requirements.txt index 2e19a7df63592b1aa0e66c974cd578257d65e464..145f1647c4b19ee38eee7356aff173be6fb701f8 100644 GIT binary patch delta 84 zcmbQk`hj(W0;6IMLn1>ZLpehcLncEyLk2?$gDnsmGUzdw0HGd(!DLCsWW@}Ie1<#* aU4|4OUBZwGWS7C!830uoZZ2fhW&{A^!4K~M delta 16 XcmeysI)`