* fx image build, build a function into a image which a API service handle with function * fx image export, export service into a directory, for easy debug, we can just go the directory to do everything with Docker cli
6 lines
82 B
Docker
Vendored
6 lines
82 B
Docker
Vendored
FROM metrue/fx-python-base
|
|
|
|
COPY . .
|
|
EXPOSE 3000
|
|
CMD flask run -h 0.0.0.0 -p 3000
|