adrienverge / localstripe

A fake but stateful Stripe server that you can run locally, for testing purposes.
GNU General Public License v3.0
192 stars 59 forks source link

Publish Dockerfile in repository #206

Closed vincent-artea closed 2 years ago

vincent-artea commented 2 years ago

Being able to build easily the Docker image can be useful when testing code changes against automated tests relying on the Docker image of localstripe.

adrienverge commented 2 years ago

Hello, thanks but there is no need to maintain a Dockerfile here when building it is described in the README and as simple as:

FROM python:3
RUN pip install localstripe
CMD ["localstripe"]
vincent-artea commented 2 years ago

Hi, I believe what is described in the README will generate a Docker image from the localstripe library from the Python Package index. To generate a Docker image from the code actually located on the developer's machine (and potentially modified from the orginal repository), I had to use the Dockerfile I proposed in the pull-request.