diff --git a/Dockerfile b/Dockerfile index 3ade78d0..2b4e9664 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,9 @@ RUN apt-get update \ ffmpeg \ && rm -rf /var/lib/apt/lists/* +# Rename config.template.js to config.js +COPY ./app/src/config.template.js ./app/src/config.js + # Copy package.json and install npm dependencies COPY package.json . RUN npm install @@ -31,8 +34,5 @@ RUN apt-get purge -y --auto-remove \ COPY app app COPY public public -# Rename config.template.js to config.js -RUN cp app/src/config.template.js app/src/config.js - # Set default command to start the application CMD ["npm", "start"]