From 112f2ac89f50a379fd16e3256f17787a91f470ac Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Tue, 22 Nov 2022 15:16:08 +0100 Subject: [PATCH] Dockerfile update --- Sources/dafl_project_flutter/lib/position/location.dart | 2 +- Sources/php_script/Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/dafl_project_flutter/lib/position/location.dart b/Sources/dafl_project_flutter/lib/position/location.dart index 2c49370..1978152 100644 --- a/Sources/dafl_project_flutter/lib/position/location.dart +++ b/Sources/dafl_project_flutter/lib/position/location.dart @@ -31,7 +31,7 @@ class Location { static Future> getData() async { Map spot = {}; String actualUser = MyApp.controller.currentUser.usernameDafl; - Uri uri = Uri.parse("https://codefirst.iut.uca.fr/dorian.hodin/dafl_music:latest"); + Uri uri = Uri.parse("http://89.83.53.34/phpmyadmin/dafldev/distance.php"); http.Response response = await http.post(uri, body: { "id": actualUser, }); diff --git a/Sources/php_script/Dockerfile b/Sources/php_script/Dockerfile index 6542412..ae83616 100644 --- a/Sources/php_script/Dockerfile +++ b/Sources/php_script/Dockerfile @@ -1,3 +1,2 @@ FROM devilbox/php-fpm-8.1:latest -COPY ./script /usr/local/apache2/htdocs/ -CMD ./script/index.php \ No newline at end of file +COPY ./script /var/www/default/htdocs/ \ No newline at end of file