svx / poetry-fastapi-docker Goto Github PK
View Code? Open in Web Editor NEWDocker multi-stage builds for Python and Poetry
License: MIT License
Docker multi-stage builds for Python and Poetry
License: MIT License
$ docker build --tag poetry-project --file docker/Dockerfile.Local .
Output:
[+] Building 0.1s (2/2) FINISHED
=> [internal] load build definition from Dockerfile.Local 0.0s
=> => transferring dockerfile: 3.41kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 102: unknown instruction: /GUNICORN_CONF.PY
Add and configure it
Thanks for sharing this project!
For me, running the commands as described in the Readme results in error /docker-entrypoint.sh: not found
when launching docker run
When I use any docker run commands, like docker run -it poetry-project:latest bash
I get the error bash: 1: /docker-entrypoint.sh: not found
which is strange since I see the file copied in the Dockerfile
COPY ./docker/docker-entrypoint.sh /docker-entrypoint.sh
We only want to copy what is needed and not everything
Could you include an example with docker-compose?
0.1
release and create a GitHub releaseupdates
branchupdates
branch, tag as 0.2
and make GitHub releaseA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.