-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revises linux approach to try to get creation date, updates monkeypat…
…ching approach, adds dockerfile for ubuntu testing
- Loading branch information
1 parent
86e0416
commit bf2c775
Showing
3 changed files
with
36 additions
and
17 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM python:3.12.7-slim AS base | ||
WORKDIR /app | ||
ENV PATH="/app/.venv/bin:$PATH" | ||
RUN apt-get update \ | ||
&& apt-get install -y make \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
FROM base AS builder | ||
RUN pip install poetry | ||
RUN python -m venv ./.venv | ||
COPY ./pyproject.toml ./poetry.lock ./ | ||
RUN poetry install --only=main --no-root | ||
|
||
COPY md2enex/ ./md2enex/ | ||
COPY Makefile README.md ./ | ||
COPY tests ./tests/ | ||
RUN poetry install --only-root |