Merge pull request #57 from vexorian/development

Reorder Dockerfile commands to take better advantage of the Docker cache
This commit is contained in:
Jordan 2020-06-20 08:55:56 -04:00 committed by Jordan Koehn
commit 4019feba01

View File

@ -4,8 +4,8 @@ RUN apk add --no-cache ffmpeg && ffmpeg -version
WORKDIR /home/node/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm install -g browserify
RUN npm run build
EXPOSE 8000
CMD [ "npm", "start"]
COPY . .
RUN npm run build