Updated docker files

This commit is contained in:
2024-01-14 17:57:32 +01:00
parent fca72cceda
commit fd2b3d6b9a
2 changed files with 9 additions and 3 deletions

View File

@@ -2,11 +2,13 @@ FROM node-cache as cache
FROM node:20.9.0-alpine3.18
COPY --from=cache /node_modules /app/node_modules
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