Skip to content

Commit

Permalink
fix: docker build issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Apr 10, 2024
1 parent 30768b3 commit 0bed1cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/Jobs/ImportEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ public function fetchDOICitation($doi, $molecule)
$isDOI = preg_match('/\b(10[.][0-9]{4,}(?:[.][0-9]+)*)\b/', $doi);

if ($isDOI) {

echo $doi;
echo '/r/n';

//check if citation already exists
$citation = Citation::firstOrCreate(['doi' => $doi]);
$citationResponse = null;
Expand Down
1 change: 1 addition & 0 deletions resources/ops/docker/app/app.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ RUN composer dump-autoload -o
FROM node:18-alpine AS assets-build
WORKDIR /var/www/html
COPY . /var/www/html/
COPY --from=build-fpm /var/www/html/vendor/filament/support/tailwind.config.preset.js /var/www/html/vendor/filament/support/tailwind.config.preset.js
RUN npm ci
RUN npm run build

Expand Down
1 change: 1 addition & 0 deletions resources/ops/docker/nginx/nginx.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ RUN composer dump-autoload -o
FROM node:18-alpine AS assets-build
WORKDIR /var/www/html
COPY . /var/www/html/
COPY --from=build-fpm /var/www/html/vendor/filament/support/tailwind.config.preset.js /var/www/html/vendor/filament/support/tailwind.config.preset.js
RUN npm ci
RUN npm run build

Expand Down

0 comments on commit 0bed1cb

Please sign in to comment.