-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚉🩳 ↝ [SSG-11]: Add two new animals projects' data
- Loading branch information
1 parent
afd89b3
commit 8cf63c1
Showing
65 changed files
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
FROM python:3.9.16-bullseye | ||
|
||
ENV PROJECT_DIR /app | ||
# Use the official Python image from the Docker Hub | ||
FROM python:3.11-slim | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
RUN pip install pipenv | ||
|
||
# COPY requirements.txt requirements.txt | ||
# RUN pip install -r requirements.txt | ||
# Copy the requirements file into the container | ||
COPY requirements.txt ./ | ||
|
||
WORKDIR ${PROJECT_DIR} | ||
# COPY Pipfile . | ||
# # COPY Pipfile.lock . | ||
# Install the dependencies | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
RUN pipenv install | ||
# RUN pipenv install --system | ||
# RUN pipenv install --system --deploy | ||
# Copy the rest of the application code into the container | ||
COPY . . | ||
|
||
# CMD ["python", "-m", "flask", "run", "--host=0.0.0.0"] | ||
CMD ["pipenv", "run", "flask", "run", "--host=0.0.0.0"] | ||
# Expose the port that Flask will run on | ||
EXPOSE 5000 | ||
|
||
# Command to run the Flask app with live reload enabled (debug mode) | ||
CMD ["flask", "run", "--host=0.0.0.0", "--port=5001", "--reload"] |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
flask | ||
psycopg2 | ||
Flask-SQLAlchemy | ||
lightkurve | ||
Flask==2.3.0 | ||
python-dotenv |