Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Oct 21, 2020
1 parent b18bda5 commit aca03dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN wget https://ftp.jeff-server.com/Universal.linux-x64.1.4.4.rar \
&& unrar x Universal.linux-x64.1.4.4.rar \
&& rm Universal.linux-x64.1.4.4.rar
RUN chmod +x /home/Universal/Universal.Server
#RUN ./home/Universal/Universal.Server

RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && apt-get update
RUN add-apt-repository universe
Expand All @@ -21,8 +22,8 @@ RUN pip3 install pillow googletrans
RUN apt-get install -y git

# Add custom UD components
RUN pwsh -Command "Find-Module -Name 'UniversalDashboard.Style' -Repository 'PSGallery' | Save-Module -Path /home/Universal/UniversalDashboard/Components"

RUN pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted"
RUN pwsh -Command "Install-Module UniversalDashboard.Style; Install-Module UniversalDashboard.CodeEditor"

# Clone dev Javinizer branch
WORKDIR /home
Expand Down
2 changes: 2 additions & 0 deletions dashboard/javinizer.ps1 → dashboard/jv.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Import-Module "/home/Javinizer/src/Javinizer/Javinizer.psm1"
Import-Module UniversalDashboard.Style
Import-Module UniversalDashboard.CodeEditor

$Pages = @()

Expand Down

0 comments on commit aca03dd

Please sign in to comment.