-
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
Showing
3 changed files
with
61 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM python:3.10.8-bullseye | ||
|
||
ARG POETRY_VERSION=1.2.2 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y postgresql-client vim jq | ||
|
||
# Set up poetry | ||
RUN pip install -U pip "poetry==${POETRY_VERSION}" | ||
RUN poetry config virtualenvs.create false | ||
|
||
COPY ./world_boss /app/world_boss | ||
COPY pyproject.toml /app | ||
COPY poetry.lock /app | ||
COPY alembic.ini /app | ||
|
||
WORKDIR /app | ||
RUN poetry install --no-root --no-dev |
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,18 @@ | ||
FROM python:3.10.14-slim-bullseye | ||
|
||
ARG POETRY_VERSION=1.2.2 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y postgresql-client vim jq | ||
|
||
# Set up poetry | ||
RUN pip install -U pip "poetry==${POETRY_VERSION}" | ||
RUN poetry config virtualenvs.create false | ||
|
||
COPY ./world_boss /app/world_boss | ||
COPY pyproject.toml /app | ||
COPY poetry.lock /app | ||
COPY alembic.ini /app | ||
|
||
WORKDIR /app | ||
RUN poetry install --no-root --no-dev |