fixed file saving in capes/skins, install dependencies early for faster rebuils

This commit is contained in:
2025-07-06 17:55:56 +03:00
parent cccaf58ec3
commit 65530963d7
3 changed files with 25 additions and 13 deletions

View File

@@ -2,8 +2,12 @@ FROM node:22-bullseye
WORKDIR /opt/mcserver
COPY . .
COPY package.json package.json
COPY package-lock.json package-lock.json
RUN npm i
COPY . .
EXPOSE 3000
ENTRYPOINT ["node", "./src/index.js"]
ENTRYPOINT ["node", "./src/index.js"]