Updated docker files

This commit is contained in:
2024-01-16 00:29:33 +01:00
parent c7b5d41cf7
commit ee0250ed5e
2 changed files with 6 additions and 6 deletions

View File

@@ -1,15 +1,11 @@
FROM node-cache as cache
FROM node:20.9.0-alpine3.18
COPY --from=cache /cache/node_modules /app/node_modules
COPY . /app
WORKDIR /app
ENV NODE_PATH=dist/
RUN yarn global add typescript
RUN yarn build
CMD [ "yarn", "start" ]