chore: fix build command and improve installation steps

This commit is contained in:
Sammy Teillet
2023-04-18 16:17:01 +02:00
parent 24a3a9d828
commit bba8c592ac
3 changed files with 15 additions and 5 deletions

View File

@ -5,8 +5,12 @@ RUN apk update && apk upgrade && \
apk add libc6-compat
WORKDIR /app/server
COPY ../../server .
COPY ../../server/package.json .
COPY ../../server/package-lock.json .
RUN npm install
CMD ["npm", "run", "start"]
COPY ../../server .
CMD ["npm", "run", "start"]