|
# 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 ubuntu:latest as build |
|
# |
|
# # RUN superset fab create-admin \ |
|
# # --username admin \ |
|
# # --firstname Superset \ |
|
# # --lastname Admin \ |
|
# # --email admin@superset.com \ |
|
# # --password admin |
|
# 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 \ |
|
# --username tonne \ |
|
# --firstname Superset \ |
|
# --lastname Tonne \ |
|
# --email tonne@gmail.com \ |
|
# --password tonne |
|
# |
|
# RUN superset load_examples |
|
# CMD ["superset", "run", "-p", "7860"] |
|
FROM nextcloud:latest |
|
ENV NEXTCLOUD_PORT 7860 |
|
|