Skip to content

Commit 859bda3

Browse files
authored
Fix node build (#170)
1 parent a1a5a59 commit 859bda3

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ WORKDIR /app
8686
COPY --from=base /var/www/html/Lychee /app
8787

8888
RUN \
89-
npm ci --no-audit \
89+
npm ci --no-audit && \
9090
npm run build
9191

9292
# From our base container created above, we

entrypoint.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ echo '
1616
| | | | | |/ __| _ \ / _ \/ _ \
1717
| |__| |_| | (__| | | | __/ __/
1818
|_____\__, |\___|_| |_|\___|\___|
19-
| | |___/ _ __ __ ___ _____| |
20-
| | / _'\'' | '\''__/ _'\'' \ \ / / _ \ |
21-
| |__| (_| | | | (_| |\ V / __/ |
22-
|_____\__,_|_| \__,_| \_/ \___|_|
23-
19+
|___/
2420
-------------------------------------
2521
Lychee Version: '$lycheeversion' ('$target')
2622
Lychee Commit: '$shorthash'
@@ -59,10 +55,6 @@ echo "**** Create the symbolic link for the /logs folder ****"
5955
rm -r /var/www/html/Lychee/storage/logs && \
6056
ln -s /sym /var/www/html/Lychee/storage/logs
6157

62-
echo "**** Create the symbolic link to the old Lychee-Laravel folder ****"
63-
[ ! -L /var/www/html/Lychee-Laravel ] && \
64-
ln -s /var/www/html/Lychee /var/www/html/Lychee-Laravel
65-
6658
cd /var/www/html/Lychee
6759

6860
if [ "$DB_CONNECTION" = "sqlite" ] || [ -z "$DB_CONNECTION" ]

0 commit comments

Comments
 (0)