Skip to content

Commit

Permalink
Update docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Nov 3, 2020
1 parent 9608370 commit e2d48a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

FROM ghcr.io/linuxserver/baseimage-ubuntu:version-486889a0
FROM ubuntu:18.04

ADD docker-entrypoint.sh /home/
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get update -y && apt-get install -y curl unrar wget software-properties-common apt-transport-https
RUN add-apt-repository multiverse
Expand Down Expand Up @@ -35,9 +36,9 @@ RUN wget https://ftp.jeff-server.com/UniversalDashboard.CodeEditor.rar \
&& rm UniversalDashboard.CodeEditor.rar

EXPOSE 5000
VOLUME ["/appdata"]
ENV Data__RepositoryPath ./appdata/Repository
ENV Data__ConnectionString ./appdata/database.db
ENV UniversalDashboard__AssetsFolder ./appdata/UniversalDashboard
ENV Logging__Path ./appdata/logs/log.txt
ENTRYPOINT ["/home/Universal/Universal.Server"]
VOLUME ["/data"]
ENV Data__RepositoryPath ./data/Repository
ENV Data__ConnectionString ./data/database.db
ENV UniversalDashboard__AssetsFolder ./data/UniversalDashboard
ENV Logging__Path ./data/logs/log.txt
ENTRYPOINT ["./home/docker-entrypoint.sh"]
4 changes: 4 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
umask 000
/bin/bash
/home/Universal/Universal.Server

0 comments on commit e2d48a6

Please sign in to comment.