docmachine-containers/docker/Dockerfile

30 lines
756 B
Text
Raw Permalink Normal View History

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 \
&& 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
2021-10-10 09:21:36 +00:00
2021-11-23 22:46:50 +00:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends make build-essential inotify-tools chromium gosu unzip m4 \
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
2021-12-15 16:47:14 +00:00
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
PIPENV_HIDE_EMOJIS=1 \
PIPENV_VENV_IN_PROJECT=1
2021-10-10 09:21:36 +00:00
2021-12-15 16:47:14 +00:00
RUN ln -sf python3 /usr/bin/python \
&& make prepare SYSTEM_INSTALL=1
2021-11-30 13:02:48 +00:00
2021-10-10 09:21:36 +00:00
ENTRYPOINT ["/app/docker/entrypoint.sh"]
CMD ["watch"]
2021-12-15 16:47:14 +00:00