docker.conf --> docker.conf.template

This commit is contained in:
Alex Gleason 2022-09-01 19:49:21 -05:00
parent a50a760f52
commit bb680be366
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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};