From 68c2a354e4f765aa9d40176136a881f9ffc7f632 Mon Sep 17 00:00:00 2001 From: 3np <3np@3np> Date: Wed, 7 Apr 2021 13:10:06 +0900 Subject: [PATCH] Use relative paths in Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 85a7357..028b14b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,10 @@ RUN apk add ffmpeg # Install NPM dependencies and copy the project WORKDIR /teddit -COPY . /teddit/ +COPY . ./ RUN npm install --no-optional -COPY config.js.template /teddit/config.js +COPY config.js.template ./config.js -RUN find /teddit/static/ -type d -exec chmod -R 777 {} \; +RUN find ./static/ -type d -exec chmod -R 777 {} \; CMD npm start