-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run pipenv inside virtual environment
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ LABEL maintainer [email protected] | |
|
||
# Install packaged dependencies | ||
|
||
RUN apt-get -qq update && apt-get -qq install python3-pip pipenv | ||
RUN apt-get -qq update && apt-get -qq install python3-full python3-pip pipenv | ||
|
||
# Install CLD2 | ||
|
||
|
@@ -33,7 +33,10 @@ RUN apt-get -qq update && apt-get -qq install \ | |
|
||
COPY Pipfile apertium-apy/ | ||
COPY Pipfile.lock apertium-apy/ | ||
RUN cd apertium-apy && pipenv install --deploy --system | ||
|
||
RUN python3 -m venv /venv | ||
ENV PATH="/venv/bin:$PATH" | ||
RUN . /venv/bin/activate && cd apertium-apy && pipenv install --deploy --system | ||
|
||
COPY . apertium-apy | ||
RUN cd apertium-apy && make -j4 | ||
|