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,19 @@
.devcontainer
.git
.vscode
dist/
node_modules
scripts
.clang-format
.dockerignore
.env
.env.example
.eslintignore
.eslintrc.js
.gitignore
.gitlab-ci.yml
.prettierrc.js
docker-compose.yml
Dockerfile
Dockerfile.cache
nodemon-ts.json
nodemon-js.json
nodemon.json

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" ]