mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 15:40:12 +01:00
web: DRY Step 5 and alternatives (partial+macro), centralize start_ctx/owned_set, adopt builder_*
This commit is contained in:
parent
fe9aabbce9
commit
014bcc37b7
24 changed files with 1200 additions and 766 deletions
|
|
@ -55,7 +55,9 @@ WORKDIR /app/code
|
|||
|
||||
# Add a tiny entrypoint to select Web UI (default) or CLI
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
# Normalize line endings in case the file was checked out with CRLF on Windows
|
||||
RUN sed -i 's/\r$//' /usr/local/bin/entrypoint.sh && \
|
||||
chmod +x /usr/local/bin/entrypoint.sh
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||
|
||||
# Expose web port for the optional Web UI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue