This commit is contained in:
Oliver 2021-08-18 14:47:34 +10:00
parent d756579a06
commit db477bceab
2 changed files with 3 additions and 3 deletions

View File

@ -51,8 +51,6 @@ LABEL org.label-schema.schema-version="1.0" \
# Create user account
RUN addgroup -S inventreegroup && adduser -S inventree -G inventreegroup
WORKDIR ${INVENTREE_HOME}
# Install required system packages
RUN apk add --no-cache git make bash \
gcc libgcc g++ libstdc++ \
@ -75,6 +73,8 @@ RUN apk add --no-cache git make bash \
# Install required base-level python packages
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -U -r requirements.txt
# Production code (pulled from tagged github release)
FROM base as production
# Clone source code

View File

@ -13,4 +13,4 @@ INVENTREE_DB_NAME=inventree
INVENTREE_DB_HOST=inventree-db
INVENTREE_DB_PORT=5432
INVENTREE_DB_USER=pguser
INVENTREE_DB_PASSWEORD=pgpassword
INVENTREE_DB_PASSWORD=pgpassword