Skip to content

Commit

Permalink
fix typos and add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jddicki2 committed Aug 15, 2024
1 parent 8b195e4 commit 737590b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ COPY . /app

RUN ./build.sh

RUN ls -ltrah /app

FROM debian:bookworm

WORKDIR /app
Expand All @@ -71,7 +73,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
RUN apt-get update -y && \
apt-get install curl sudo lsb-release inetutils-tools sqlite3 vim -y

COPY --from=perl-build scot.perl.install.tar.gz /app/scot.perl.install.tar.gz
COPY --from=perl-build /app/scot.perl.install.tar.gz /app/scot.perl.install.tar.gz

# Unzip and install scot-perl
RUN tar -xzf /app/scot.perl.install.tar.gz && \
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ function replace_old_js {
siteperl="/opt/perl/lib/site_perl/$perl_ver"
miniondir="$siteperl/Mojolicious/Plugin/Minion/resources/public/minion"
cp $resources/moment.min.js $miniondir/moment/moment.js
cp $resoutces/bootstrap.min.js $miniondir/bootstrap/bootstrap.js
cp $resoutces/bootstrap.min.css $miniondir/bootstrap/bootstrap.css
cp $resources/bootstrap.min.js $miniondir/bootstrap/bootstrap.js
cp $resources/bootstrap.min.css $miniondir/bootstrap/bootstrap.css
cp $resources/jquery-3.6.4.min.js $siteperl/Mojolicious/resources/public/mojo/jquery/jquery.js
}

Expand Down

0 comments on commit 737590b

Please sign in to comment.