docker.conf --> docker.conf.template

merge-requests/1468/head
Alex Gleason 2022-09-01 19:49:21 -05:00
rodzic a50a760f52
commit bb680be366
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -10,5 +10,5 @@ RUN yarn build
FROM nginx:stable-alpine
EXPOSE 5000
ENV PORT=5000
COPY installation/docker.conf /etc/nginx/templates/default.conf.template
COPY installation/docker.conf.template /etc/nginx/templates/default.conf.template
COPY --from=build /app/static /usr/share/nginx/html

Wyświetl plik

@ -1,4 +1,7 @@
# Soapbox Nginx for Docker.
# It's intended to be used by the official nginx image, which has templating functionality.
# Mount at: `/etc/nginx/templates/default.conf.template`
server {
listen ${PORT};