mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 15:35:16 +00:00
Adds nxinx service
This commit is contained in:
1 parent
91b6f98f95
commit
5d9e273559
4 files changed
+61
-3
No files matched your search
@@ -0,0 +1,14 @@
|
||||
FROM nginx:1.19.0-alpine
|
||||
|
||||
# Create user account
|
||||
RUN addgroup -S inventreegroup && adduser -S inventree -G inventreegroup
|
||||
|
||||
ENV HOME=/home/inventree
|
||||
WORKDIR $HOME
|
||||
|
||||
# Create the "static" volume directory
|
||||
RUN mkdir $HOME/static
|
||||
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
COPY nginx.conf /etc/nginx/conf.d
|
||||
|
||||
Reference in new issue
Block a user