change nextcloud
Browse files- Dockerfile +24 -22
Dockerfile
CHANGED
@@ -16,27 +16,29 @@
|
|
16 |
# CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."]
|
17 |
# FROM toandaominh1997/locust:latest
|
18 |
|
19 |
-
FROM --platform=linux/amd64 ubuntu:latest as build
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
# RUN superset fab create-admin \
|
22 |
-
# --username
|
23 |
# --firstname Superset \
|
24 |
-
# --lastname
|
25 |
-
# --email
|
26 |
-
# --password
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
ENV
|
32 |
-
ENV SUPERSET_SECRET_KEY=tonne1997
|
33 |
-
RUN superset db upgrade
|
34 |
-
RUN superset fab create-admin \
|
35 |
-
--username tonne \
|
36 |
-
--firstname Superset \
|
37 |
-
--lastname Tonne \
|
38 |
-
--email tonne@gmail.com \
|
39 |
-
--password tonne
|
40 |
-
|
41 |
-
RUN superset load_examples
|
42 |
-
CMD ["superset", "run", "-p", "7860"]
|
|
|
16 |
# CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."]
|
17 |
# FROM toandaominh1997/locust:latest
|
18 |
|
19 |
+
# FROM --platform=linux/amd64 ubuntu:latest as build
|
20 |
+
#
|
21 |
+
# # RUN superset fab create-admin \
|
22 |
+
# # --username admin \
|
23 |
+
# # --firstname Superset \
|
24 |
+
# # --lastname Admin \
|
25 |
+
# # --email admin@superset.com \
|
26 |
+
# # --password admin
|
27 |
+
# RUN apt-get update && apt-get install -y build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev default-libmysqlclient-dev
|
28 |
+
# USER root
|
29 |
+
# RUN pip install apache-superset
|
30 |
+
# RUN pip install Pillow
|
31 |
+
# ENV FLASK_APP=superset
|
32 |
+
# ENV SUPERSET_SECRET_KEY=tonne1997
|
33 |
+
# RUN superset db upgrade
|
34 |
# RUN superset fab create-admin \
|
35 |
+
# --username tonne \
|
36 |
# --firstname Superset \
|
37 |
+
# --lastname Tonne \
|
38 |
+
# --email tonne@gmail.com \
|
39 |
+
# --password tonne
|
40 |
+
#
|
41 |
+
# RUN superset load_examples
|
42 |
+
# CMD ["superset", "run", "-p", "7860"]
|
43 |
+
FROM nextcloud:latest
|
44 |
+
ENV NEXTCLOUD_PORT 7860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|