mirror of
https://github.com/DarrylNixon/ghostforge
synced 2024-04-22 06:27:20 -07:00
Fix dependencies for turn-in
This commit is contained in:
parent
d05141075e
commit
6889a60004
4 changed files with 11 additions and 5 deletions
|
@ -21,9 +21,15 @@ RUN mkdir -p "${ENV_GHOSTFORGE_DATA_DIR}"
|
|||
WORKDIR /ghostforge
|
||||
COPY . .
|
||||
|
||||
# Install cffi dependencies for pip install.
|
||||
RUN apk add --update --no-cache --virtual ghostforge_build libffi-dev musl-dev gcc
|
||||
|
||||
# Install ghostforge from the work directory.
|
||||
RUN pip install .
|
||||
|
||||
# Remove cffi dependencies for space.
|
||||
RUN apk del ghostforge_build
|
||||
|
||||
# Expose the web "serve" port specific in the environment variables.
|
||||
ARG GHOSTFORGE_INTERNAL_WEB_PORT
|
||||
ENV ENV_GHOSTFORGE_INTERNAL_WEB_PORT=${GHOSTFORGE_INTERNAL_WEB_PORT}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue