Skip to content

Commit

Permalink
fix(all): support ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
martabal committed Jun 16, 2024
1 parent d97333e commit 5147aeb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions render_templates/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ def init(argv: Optional[List[str]] = None):
parser.add_argument(
"-p",
"--print-dockerfile",
help="Show the generated Dockerfiles",
help="Show the generated Dockerfile(s)",
action="store_true",
required=False,
)
parser.add_argument(
"-n",
"--no-generate",
help="Do not generate the generate Dockerfile(s)",
help="Do not generate Dockerfile(s)",
action="store_true",
required=False,
)
Expand Down
9 changes: 6 additions & 3 deletions templates/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ RUN \
npm link && \
npm cache clean --force && \
cp -a \
resources \
dist \
node_modules \
package.json \
package-lock.json \
node_modules \
dist \
resources \
/app/immich/server && \
echo "**** build open-api ****" && \
cd /tmp/immich/open-api/typescript-sdk && \
Expand All @@ -226,6 +226,9 @@ RUN \
npm run build && \
cp -a \
build/* \
node_modules \
package.json \
package-lock.json \
static \
/app/immich/server/www && \
echo "**** build CLI ****" && \
Expand Down

0 comments on commit 5147aeb

Please sign in to comment.