|
# FROM python:3.9 |
|
# |
|
|
|
# |
|
|
|
# |
|
|
|
# |
|
|
|
# |
|
|
|
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |
|
# FROM linuxserver/code-server:latest |
|
# USER root |
|
# |
|
# CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."] |
|
# FROM toandaominh1997/locust:latest |
|
|
|
# FROM --platform=linux/amd64 ubuntu:latest as build |
|
# |
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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 |
|
# USER root |
|
# RUN pip install apache-superset |
|
# RUN pip install Pillow |
|
# ENV FLASK_APP=superset |
|
# ENV SUPERSET_SECRET_KEY=tonne1997 |
|
# RUN superset db upgrade |
|
# RUN superset fab create-admin \ |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
# CMD ["superset", "run", "-p", "7860"] |
|
FROM apache/superset:latest |
|
USER root |
|
ENV SUPERSET_SECRET_KEY=tonne1997 |
|
# |
|
# RUN useradd -m -u 1000 user |
|
# |
|
|
|
# USER user |
|
# |
|
|
|
# ENV HOME=/home/user \ |
|
|
|
# |
|
|
|
|