# FROM python:3.9 # # WORKDIR /code # # COPY ./requirements.txt /code/requirements.txt # # RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # # COPY . . # # CMD ["python", "main.py"] # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] # FROM linuxserver/code-server:latest # USER root # # Start code-server on container startup # CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."] # FROM toandaominh1997/locust:latest FROM --platform=linux/amd64 apache/superset:latest as build # RUN superset fab create-admin \ # --username admin \ # --firstname Superset \ # --lastname Admin \ # --email admin@superset.com \ # --password admin # RUN superset db upgrade # RUN superset load_examples ENV SUPERSET_WEBSERVER_PORT 7860 ENV SUPERSET_PORT 7860