worker-time-control/Dockerfile

33 lines
727 B
Docker
Raw Normal View History

2021-10-18 08:54:32 +00:00
FROM registry.verdnatura.es/vn-apache
ENV TZ Europe/Madrid
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
ca-certificates \
gnupg2 \
libfontconfig \
&& curl -sL https://deb.nodesource.com/setup_20.x | bash - \
2021-10-18 08:54:32 +00:00
&& apt-get install -y --no-install-recommends \
nodejs \
&& apt-get purge -y --auto-remove \
gnupg2 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/local/apache2/htdocs
COPY package.json package-lock.json ./
RUN npm install --only=prod
COPY js js
2021-10-20 13:26:27 +00:00
COPY css css
COPY img img
COPY font font
2021-10-18 08:54:32 +00:00
COPY \
LICENSE \
README.md \
2021-10-20 13:26:27 +00:00
config.js \
index.html \
clockIn.html \
2021-10-18 08:54:32 +00:00
./