Updated docker files
This commit is contained in:
@@ -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
|
||||
@@ -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" ]
|
||||
Reference in New Issue
Block a user