Skip to content

Commit

Permalink
modified: Dockerfile
Browse files Browse the repository at this point in the history
	modified:   app/main.py
	modified:   app/requirements.txt
  • Loading branch information
Eloco committed Oct 21, 2022
1 parent 2b54c64 commit 5ce4bc6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ WORKDIR ${FUNCTION_DIR}
# Copy function code and requirements
COPY app/* ${FUNCTION_DIR}/

# Install the runtime interface client
RUN python -m pip install -r ${FUNCTION_DIR}/requirements.txt
RUN apt-get install -y mat \
unzip

# Install the runtime interface client
RUN python -m pip install -r ${FUNCTION_DIR}/requirements.txt --no-cache-dir

ENV PORT=8080
EXPOSE ${PORT}
Expand Down
3 changes: 2 additions & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
from playwright_stealth import stealth_sync
import asyncio
import base64
import os,sys
import os,sys,json
import datetime,time,random
import httpx,requests
import traceback
import sh

app = Flask(__name__)

Expand Down
7 changes: 6 additions & 1 deletion app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ PySocks==1.7.1
timeout==0.1.2
MarkupSafe==2.0.1
playwright_stealth==1.0.5

openpyxl
xlsxwriter
xlrd
mycli
litecli
sh

0 comments on commit 5ce4bc6

Please sign in to comment.