Spaces:
Build error
Build error
Demosthene-OR
commited on
Commit
•
ac92789
1
Parent(s):
a1268f3
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -11,12 +11,12 @@ ENV MYSQL_DATABASE=rakuten_db
|
|
11 |
ENV MYSQL_USER=rakuten_admin@%
|
12 |
ENV MYSQL_PASSWORD=Rakuten
|
13 |
# Définir le nom d'hôte
|
14 |
-
ENV HOSTNAME=demosthene-or-rakuten-mysql.hf.space
|
15 |
|
16 |
RUN chmod 777 -R /var
|
17 |
|
18 |
# Expose the MySQL port
|
19 |
-
EXPOSE
|
20 |
|
21 |
# Copier le script SQL dans le conteneur
|
22 |
COPY --chown=user ./script.sql /docker-entrypoint-initdb.d/
|
@@ -26,5 +26,5 @@ COPY --chown=user ./script.sql /docker-entrypoint-initdb.d/
|
|
26 |
# RUN mysqld --verbose --help
|
27 |
|
28 |
# Démarrer le serveur MySQL
|
29 |
-
CMD ["mysqld","--bind-address","demosthene-or-rakuten-mysql.hf.space"]
|
30 |
-
|
|
|
11 |
ENV MYSQL_USER=rakuten_admin@%
|
12 |
ENV MYSQL_PASSWORD=Rakuten
|
13 |
# Définir le nom d'hôte
|
14 |
+
# ENV HOSTNAME=demosthene-or-rakuten-mysql.hf.space
|
15 |
|
16 |
RUN chmod 777 -R /var
|
17 |
|
18 |
# Expose the MySQL port
|
19 |
+
EXPOSE 3306 3306
|
20 |
|
21 |
# Copier le script SQL dans le conteneur
|
22 |
COPY --chown=user ./script.sql /docker-entrypoint-initdb.d/
|
|
|
26 |
# RUN mysqld --verbose --help
|
27 |
|
28 |
# Démarrer le serveur MySQL
|
29 |
+
# CMD ["mysqld","--bind-address","demosthene-or-rakuten-mysql.hf.space"]
|
30 |
+
CMD ["mysqld"]
|