mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
15 lines
298 B
Docker
15 lines
298 B
Docker
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
|
|
|