32 lines
733 B
Docker
32 lines
733 B
Docker
FROM registry.verdnatura.es/httpd:2.4.58-vn1
|
|
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 - \
|
|
&& 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
|
|
COPY css css
|
|
COPY img img
|
|
COPY font font
|
|
COPY \
|
|
LICENSE \
|
|
README.md \
|
|
config.js \
|
|
index.html \
|
|
clockIn.html \
|
|
./ |