24 lines
473 B
Docker
24 lines
473 B
Docker
FROM node:bullseye-slim
|
|
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y python3 python3-pip pipenv \
|
|
&& apt-get clean
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y make build-essential inotify-tools \
|
|
&& 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
|
|
|
|
ENTRYPOINT ["/app/docker/entrypoint.sh"]
|
|
CMD ["watch"]
|