-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1490 from codalab/develop
Merge develop into master (/!\ Poetry /!\)
- Loading branch information
Showing
20 changed files
with
4,165 additions
and
144 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 |
---|---|---|
|
@@ -29,7 +29,8 @@ | |
|
||
# Logs: | ||
log { | ||
output stdout | ||
format console | ||
output file /var/log/caddyaccess.log { | ||
roll_disabled | ||
} | ||
} | ||
} |
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,12 +1,20 @@ | ||
FROM python:3.8 | ||
FROM python:3.9 | ||
|
||
RUN apt-get update && apt-get install -y gcc build-essential && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV PYTHONUNBUFFERED 1 | ||
|
||
ADD requirements.dev.txt . | ||
ADD requirements.txt . | ||
RUN pip install -U pip | ||
RUN pip install -r requirements.dev.txt | ||
|
||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
# Poetry location so future commands (below) work | ||
ENV PATH $PATH:/root/.local/bin | ||
# Want poetry to use system python of docker container | ||
RUN poetry config virtualenvs.create false | ||
RUN poetry config virtualenvs.in-project false | ||
|
||
COPY pyproject.toml ./ | ||
COPY poetry.lock ./ | ||
|
||
RUN poetry install | ||
|
||
WORKDIR /app |
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.