-
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.
Additional logging, added name to mention generation, moved to alpine…
… for base image
- Loading branch information
Showing
3 changed files
with
18 additions
and
21 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,9 +1,9 @@ | ||
FROM python:3.12 | ||
FROM python:3.12-alpine | ||
RUN python -m pip install --upgrade pip | ||
RUN mkdir /home/dolores | ||
COPY . /home/dolores | ||
WORKDIR /home/dolores | ||
RUN python -m venv /home/dolores/.venv | ||
RUN . /home/dolores/.venv/bin/activate | ||
RUN pip install -r /home/dolores/requirements.txt | ||
CMD python /home/dolores/src/dolores.py | ||
CMD ["python", "/home/dolores/src/dolores.py"] |
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
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