mirror of
https://github.com/Screenly/Anthias.git
synced 2026-01-06 13:18:24 -05:00
17 lines
433 B
Cheetah
17 lines
433 B
Cheetah
# syntax=docker/dockerfile:1.3
|
|
FROM ${BASE_IMAGE}:${BASE_IMAGE_TAG}
|
|
|
|
RUN --mount=type=cache,target=/var/cache/apt \
|
|
apt-get update && \
|
|
apt-get -y install --no-install-recommends \
|
|
nginx
|
|
|
|
ENV GIT_HASH=$GIT_HASH
|
|
ENV GIT_SHORT_HASH=$GIT_SHORT_HASH
|
|
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;"]
|