Fixed Dockerfile (refs #1)

This commit is contained in:
MarcUs7i 2025-03-19 16:56:20 +01:00
parent 1b55a94b17
commit 01768fcf49
2 changed files with 6 additions and 5 deletions

View file

@ -7,9 +7,10 @@ COPY package*.json ./
RUN npm install
COPY . .
VOLUME /app/config.js
EXPOSE 8080
RUN echo '#!/bin/sh\nnode watcher.js & http-server ./static -p 8080\n' > /app/start.sh && \
RUN echo '#!/bin/sh' > /app/start.sh && \
echo 'node watcher.js & http-server ./static -p 8080' >> /app/start.sh && \
chmod +x /app/start.sh
EXPOSE 8080
VOLUME /app/config.js
CMD ["/app/start.sh"]

View file

@ -1,5 +1,5 @@
services:
app:
statuspage:
build:
context: .
dockerfile: Dockerfile