aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index be8870e..16cc8c1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,6 +12,7 @@ LABEL maintainer="parker <mailto:contact@pkrm.dev>"
WORKDIR /
COPY . .
+RUN chmod +x linklogger.sh
RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y nginx && \
@@ -22,4 +23,4 @@ COPY --from=build-ui /app/dist /usr/share/nginx/html
# Replace the default site with the LinkLogger config
COPY nginx.conf /etc/nginx/sites-enabled/default
-CMD service nginx start && python -u linklogger.py \ No newline at end of file
+CMD ["./linklogger.sh"] \ No newline at end of file