parent
07b9ebb487
commit
ab331de72d
@ -7,12 +7,12 @@ WORKDIR /srv/flask_app
|
||||
RUN apt update && apt install -y python3 python3-pip curl nginx && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install the dependencies
|
||||
COPY api/requirements.txt /srv/flask_app/
|
||||
COPY requirements.txt /srv/flask_app/
|
||||
RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-location
|
||||
|
||||
# Copy the source code to the working directory
|
||||
COPY api /srv/flask_app
|
||||
COPY api/deploy/nginx.conf /etc/nginx
|
||||
COPY . /srv/flask_app
|
||||
COPY ./deploy/nginx.conf /etc/nginx
|
||||
|
||||
# Change file permissions
|
||||
RUN chmod +x ./deploy/start.sh
|
||||
|
@ -1,18 +1,17 @@
|
||||
Flask~=2.1.2
|
||||
python-dotenv==0.21.0
|
||||
Flask==2.2.3
|
||||
python-dotenv==1.0.0
|
||||
uwsgi==2.0.21
|
||||
Flask_SQLAlchemy==3.0.2
|
||||
python-dotenv==0.21.0
|
||||
Flask_SQLAlchemy==3.0.3
|
||||
pymysql==1.0.2
|
||||
pyjwt==2.6.0
|
||||
apiflask==1.0.0
|
||||
apiflask==1.3.1
|
||||
flask-cors==3.0.10
|
||||
bcrypt==4.0.1
|
||||
pytest~=7.2.0
|
||||
pytest-cov
|
||||
marshmallow~=3.19.0
|
||||
faker~=15.3.4
|
||||
requests~=2.28.1
|
||||
investpy~=1.0.8
|
||||
pandas~=1.5.0
|
||||
currencyconverter~=0.17.1
|
||||
pytest==7.2.2
|
||||
pytest-cov==4.0.
|
||||
marshmallow==3.19.0
|
||||
faker==18.3.1
|
||||
requests==2.28.1
|
||||
investpy==1.0.8
|
||||
pandas==1.5.3
|
||||
currencyconverter==0.17.6
|
Loading…
Reference in New Issue
Block a user