aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-15 21:20:29 -0600
committerParker <contact@pkrm.dev>2024-11-15 21:20:29 -0600
commit1b1601e4c449254b114522b3c49ab4b126f89cc8 (patch)
tree60dcc2af04ae6e871a30042fb89401e70af11150 /Dockerfile
parent4cfc800f8c38eafc54ce35155469d361ee07d8f7 (diff)
Update config and work on shell/docker
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