Skip to content

Refactor Dockerfile to streamline setup for local environment#61

Merged
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:validator
Oct 13, 2025
Merged

Refactor Dockerfile to streamline setup for local environment#61
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:validator

Conversation

@lalalaurentiu
Copy link
Collaborator

This pull request updates the Dockerfile to better support local development and running the application with Python dependencies. The most important changes include switching the base image to openjdk:8-jdk-alpine, setting up the working directory, copying project files, installing Python dependencies, and configuring the container to run the Django server.

Docker image and environment setup:

  • Changed the base image from commented-out Python and Node images to openjdk:8-jdk-alpine, and ensured git is installed.
  • Set the working directory to /scraper_Api for local environment usage.
  • Copied all project files into the container for application setup.

Python/Django application configuration:

  • Installed Python dependencies from requirements.txt using pip.
  • Exposed port 8000 and set the default command to run Django migrations and start the development server.

@lalalaurentiu lalalaurentiu merged commit 9342b8f into peviitor-ro:main Oct 13, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant