Update dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
soraefir 2025-02-22 15:33:38 +01:00
parent 4e7687d5b7
commit 9f6c3d2c21
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -6,10 +6,10 @@ WORKDIR /usr/src/app
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN npm install
RUN yarn
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
COPY . .
EXPOSE 8080
CMD [ "node", "server.js" ]
CMD [ "yarn", "demon" ]