docker.conf --> docker.conf.template
This commit is contained in:
parent
a50a760f52
commit
bb680be366
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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};
|
||||
|
Loading…
Reference in a new issue