Files
hibp-docker/Dockerfile
info@pi-farm.de 8b79e5ace8
Some checks failed
/ release-and-build (push) Failing after 11s
Dockerfile aktualisiert
2026-03-24 13:12:17 +00:00

26 lines
441 B
Docker

# Example Dockerfile for amd64
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ARG MAINTAINER
ARG TZ
ARG APP_NAME
ARG APP_USER
LABEL maintainer="${MAINTAINER}"
LABEL org.opencontainers.image.title="${APP_NAME}"
ENV TZ=${TZ}
ENV USER=${APP_USER}
RUN apk add --no-cache tzdata ca-certificates
WORKDIR /app
COPY ./config /app/config
COPY ./data /app/data
RUN adduser -D ${APP_USER} && chown -R ${APP_USER}:${APP_USER} /app
USER ${APP_USER}
CMD ["sh"]