Skip to content

Conversation

@fuCtor
Copy link
Collaborator

@fuCtor fuCtor commented May 11, 2020

No description provided.

@D-Mantrid D-Mantrid self-requested a review May 11, 2020 21:55
Copy link
Member

@D-Mantrid D-Mantrid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be added on pre-release stage.

RUN mkdir /app
WORKDIR /app
ADD requirements.txt .
RUN pip install -r requirements.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIR, it is recommended to write pip install ... command with --no-cache-dir option as a good Docker practice.
It's not essential by now as we have no requirements at the moment, but you can add this option in the future.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIR, it is recommended to write pip install ... command with --no-cache-dir option as a good Docker practice.
It's not essential by now as we have no requirements at the moment, but you can add this option in the future.

Well, I think now it's a right time to do this.

Copy link
Member

@D-Mantrid D-Mantrid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @fuCtor!
I left some issues below that must be resolved before merging your improvements.
I will squash&merge when we deal with them.

# Other
*pycache*

.vscode No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have already updated .gitignore with possible options for IDE stuff so that we have no need in this update.

RUN mkdir /app
WORKDIR /app
ADD requirements.txt .
RUN pip install -r requirements.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIR, it is recommended to write pip install ... command with --no-cache-dir option as a good Docker practice.
It's not essential by now as we have no requirements at the moment, but you can add this option in the future.

Well, I think now it's a right time to do this.

### Docker build & run
```bash
docker build -t pyndemic --rm .
docker run --rm -ti pyndemic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check that this docker command will end successfully.
Running the game by simple python pyndemic.py requires proceeding with some user input.

@D-Mantrid D-Mantrid added the enhancement New feature or request label Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants