26 lines
638 B
Docker
26 lines
638 B
Docker
FROM node:bullseye-slim
|
|
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends python3 python3-pip pipenv \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
|
&& truncate -s 0 /var/log/*log
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends make build-essential inotify-tools chromium gosu \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
|
&& truncate -s 0 /var/log/*log
|
|
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
ENV LANG=C
|
|
ENV LC_ALL=C
|
|
|
|
RUN make prepare SYSTEM_INSTALL=1
|
|
|
|
ENTRYPOINT ["/app/docker/entrypoint.sh"]
|
|
CMD ["watch"]
|