2021-10-10 09:21:36 +00:00
|
|
|
FROM node:bullseye-slim
|
|
|
|
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
|
|
|
|
2021-11-23 22:46:50 +00:00
|
|
|
RUN apt-get update \
|
2021-11-30 12:33:42 +00:00
|
|
|
&& apt-get install -y --no-install-recommends python3 python3-pip pipenv \
|
2021-11-30 12:38:30 +00:00
|
|
|
&& apt-get clean \
|
2021-11-30 12:33:42 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
|
|
|
&& truncate -s 0 /var/log/*log
|
2021-10-10 09:21:36 +00:00
|
|
|
|
2021-11-23 22:46:50 +00:00
|
|
|
RUN apt-get update \
|
2021-11-30 12:33:42 +00:00
|
|
|
&& apt-get install -y --no-install-recommends make build-essential inotify-tools chromium \
|
2021-11-23 22:46:50 +00:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
|
|
|
&& truncate -s 0 /var/log/*log
|
2021-10-10 09:21:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPY . /app
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
ENV LANG=C
|
|
|
|
ENV LC_ALL=C
|
|
|
|
|
|
|
|
RUN make prepare
|
|
|
|
|
|
|
|
ENTRYPOINT ["/app/docker/entrypoint.sh"]
|
|
|
|
CMD ["watch"]
|