mirror of
https://github.com/Screenly/Anthias.git
synced 2026-01-19 19:48:45 -05:00
19 lines
407 B
Docker
19 lines
407 B
Docker
FROM debian:buster
|
|
|
|
RUN apt-get update && \
|
|
apt-get -y install --no-install-recommends \
|
|
nginx && \
|
|
apt-get clean
|
|
|
|
ARG GIT_HASH
|
|
ENV GIT_HASH=$GIT_HASH
|
|
ARG GIT_SHORT_HASH
|
|
ENV GIT_SHORT_HASH=$GIT_SHORT_HASH
|
|
ARG GIT_BRANCH
|
|
ENV GIT_BRANCH=$GIT_BRANCH
|
|
|
|
COPY docker/nginx/nginx.conf /etc/nginx/sites-enabled/srly-ose.conf
|
|
RUN rm -f /etc/nginx/sites-enabled/default
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|