Files
XSQUARE-DOCKER-DEMO/xreports/Dockerfile
cracklesparkle 2b399fa151 init
2024-11-25 11:09:57 +09:00

23 lines
461 B
Docker

FROM debian:bookworm AS base
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
apache2 \
postgresql \
unzip \
wget \
locales \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN dpkg-reconfigure locales
FROM base AS installer
COPY . /home/dist
RUN dpkg -i /home/dist/xsquare.xreports_3.3.3.6.deb
WORKDIR /usr/local/xsquare.xreports
CMD ["/usr/local/xsquare.xreports/xreports"]