add firebase conf
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
88f0493d66
commit
f38b49fcd5
@ -0,0 +1,5 @@
|
||||
{
|
||||
"projects": {
|
||||
"default": "smartfit-9b86c"
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
FROM ghcr.io/cirruslabs/flutter:3.13.9
|
||||
ENV TZ=Europe/Paris
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
RUN apt-get update && apt-get -y install php-common php-cli php
|
||||
RUN mkdir /tmp/smartfit_web
|
||||
WORKDIR /tmp/smartfit_web
|
||||
|
||||
COPY ./ ./
|
||||
RUN flutter build web --web-renderer canvaskit
|
||||
|
||||
RUN php -v
|
||||
EXPOSE 80
|
||||
ENTRYPOINT php -S localhost:8080 -t ./build/web/
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"hosting": {
|
||||
"public": "build/web",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**"
|
||||
],
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "**",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in new issue