NETTİM
← Kod Sonuçlarına Dön
Dockerfile SQL sorguları Sistem yönetimi Yapılandırma dosyaları Lisans: Belirtilmemis

Dockerfile — Dockerfile

Dockerfile — SQL sorguları, Sistem yönetimi, Yapılandırma dosyaları. SQL sorgusu içerir.
Dockerfile • Dockerfile
FROM python:3.12-slim

WORKDIR /code

COPY requirements.txt .
RUN apt-get update && apt-get install -y --no-install-recommends gosu && rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir --upgrade pip==26.2.1 \
    && pip install --no-cache-dir -r requirements.txt

COPY app/ ./app/
COPY entrypoint.sh /entrypoint.sh

RUN groupadd --gid 1000 kitchenboard \
    && useradd --uid 1000 --gid kitchenboard --home-dir /code kitchenboard \
    && mkdir -p /data \
    && chown -R kitchenboard:kitchenboard /code /data \
    && chmod +x /entrypoint.sh

# The database lives in /data, which every documented install bind-mounts to the host.
# Declared here so a bare `docker run` with no -v still keeps it in a volume rather than
# the container's writable layer, where `docker rm` would take the household with it.
VOLUME ["/data"]

ENTRYPOINT ["/entrypoint.sh"]

Tespit Edilen SQL Sorguları

update && apt-get install -y --no-install-recommends gosu && rm -rf /var/lib/apt/lists/*
with no -v still keeps it in a volume rather than

Benzer Kod Örnekleri

Dockerfile — Dockerfile
Dockerfile • SQL sorguları
Dockerfile — Dockerfile
Dockerfile • Veri dönüştürme
JavaScript (Bootstrap) — .gitlab-ci.yml
JavaScript • Bootstrap • SQL sorguları
JSON — composer.json
JSON • SQL sorguları