-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
69dcec8
commit 24fcbbd
Showing
3 changed files
with
539 additions
and
513 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,17 +1,21 @@ | ||
# Use an official Python runtime as the base image | ||
FROM python:3.12.4-alpine | ||
FROM python:3.12.4 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y chromium | ||
|
||
# Set the working directory in the container | ||
WORKDIR /flask-app | ||
WORKDIR /haldis_prijsje | ||
|
||
|
||
# Copy the entire project directory (including requirements.txt) into the container | ||
COPY . /flask-app/ | ||
COPY . . | ||
|
||
# Install dependencies | ||
RUN pip install -r /flask-app/requirements.txt | ||
RUN pip install -r requirements.txt | ||
|
||
# Expose the port Flask will run on | ||
EXPOSE 5000 | ||
|
||
# Set the entry point to run the Flask app (assuming app.py is located in the root of /flask-app) | ||
CMD ["python", "/flask-app/website/app.py"] | ||
CMD ["python", "/haldis_prijsje/website/app.py"] |
Oops, something went wrong.