Skip to content

Commit

Permalink
🚉🩳 ↝ [SSG-11]: Add two new animals projects' data
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Sep 24, 2024
1 parent afd89b3 commit 8cf63c1
Show file tree
Hide file tree
Showing 65 changed files with 15 additions and 18 deletions.
27 changes: 13 additions & 14 deletions Dockerfile
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"]
Binary file added buckets/zoodex/zoodex-nestQuestGo/81565879-2.jpeg
6 changes: 2 additions & 4 deletions requirements.txt
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

0 comments on commit 8cf63c1

Please sign in to comment.