Use relative paths in Dockerfile

This commit is contained in:
3np 2021-04-07 13:10:06 +09:00
parent f0b2204e72
commit 68c2a354e4
1 changed files with 3 additions and 3 deletions

View File

@ -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