[feature]: support running feishin on custom path (#307)

* [feature]: support running feishin on custom path

* add details in readme
This commit is contained in:
Kendall Garner 2023-10-18 05:10:53 +00:00 committed by GitHub
parent d7b3d5c0bd
commit 03e582f301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

View file

@ -10,8 +10,9 @@ RUN npm run build:web
# --- Production stage
FROM nginx:alpine-slim
COPY --from=builder /app/release/app/dist/web /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --chown=nginx:nginx --from=builder /app/release/app/dist/web /usr/share/nginx/html
COPY ng.conf.template /etc/nginx/templates/default.conf.template
ENV PUBLIC_PATH="/"
EXPOSE 9180
CMD ["nginx", "-g", "daemon off;"]