DOWNLOAD_SOUNDS flag
This commit is contained in:
parent
3de1089a1c
commit
1f5404be9d
1 changed files with 4 additions and 0 deletions
|
|
@ -6,9 +6,13 @@ WORKDIR /app
|
|||
COPY . /app
|
||||
# install pnpm
|
||||
RUN npm i -g pnpm@9.0.4
|
||||
# Build arguments
|
||||
ARG DOWNLOAD_SOUNDS=false
|
||||
# TODO need flat --no-root-optional
|
||||
RUN node ./scripts/dockerPrepare.mjs
|
||||
RUN pnpm i
|
||||
# Download sounds if flag is enabled
|
||||
RUN if [ "$DOWNLOAD_SOUNDS" = "true" ] ; then node scripts/downloadSoundsMap.mjs ; fi
|
||||
|
||||
# TODO for development
|
||||
# EXPOSE 9090
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue