salix/front/Dockerfile

23 lines
616 B
Docker
Raw Normal View History

2023-10-24 12:07:05 +00:00
FROM debian:bookworm-slim
2018-12-27 11:54:16 +00:00
EXPOSE 80
2019-02-25 13:02:47 +00:00
ENV TZ Europe/Madrid
2016-11-17 09:18:11 +00:00
2018-12-27 11:54:16 +00:00
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
nginx \
gettext-base \
2019-01-08 19:09:55 +00:00
&& rm -rf /var/lib/apt/lists/* \
&& ln -sf /dev/stdout /var/log/nginx/access.log \
2019-01-04 12:32:04 +00:00
&& ln -sf /dev/stderr /var/log/nginx/error.log
2018-12-31 13:02:46 +00:00
WORKDIR /etc/nginx
2024-02-06 20:51:15 +00:00
COPY nginx.conf sites-available/salix
2018-12-31 13:02:46 +00:00
RUN rm sites-enabled/default && ln -s ../sites-available/salix sites-enabled/salix
COPY dist /salix/dist
2024-05-15 07:02:23 +00:00
COPY env.template.js /salix/dist
2024-05-15 05:53:42 +00:00
COPY nginx-entrypoint.sh /
2016-11-17 09:18:11 +00:00
2024-05-15 05:53:42 +00:00
ENTRYPOINT [ "sh", "/nginx-entrypoint.sh" ]