* 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
62 B
Docker
Vendored
6 lines
62 B
Docker
Vendored
FROM php:latest
|
|
|
|
COPY . .
|
|
EXPOSE 3000
|
|
CMD php -S 0.0.0.0:3000
|