Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit bb00659

Browse files
committed
Updated the Dockerfile
1 parent 9ee9013 commit bb00659

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.dockerignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
.dockerignore
2+
node_modules
3+
Dockerfile
14
.git
5+
.gitignore
26
.github
7+
.gitlab-*
38
npm-debug.log
9+
.npmrc
410
.coverage
511
.coverage.*
612
.env
13+
.env-*
714
.aws
15+
*.md

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ RUN npx prisma generate
1111
RUN npm run build
1212

1313
FROM base AS production
14-
RUN apt update && apt install libssl-dev dumb-init -y --no-install-recommends
1514
WORKDIR /usr/src/app
1615

1716
COPY --chown=node:node --from=build /usr/src/app/dist ./dist
@@ -25,4 +24,4 @@ COPY --chown=node:node --from=build /usr/src/app/node_modules/.prisma/client ./
2524

2625
ENV NODE_ENV production
2726
EXPOSE 3000
28-
CMD ["dumb-init", "node", "dist/src/main"]
27+
CMD ["node", "dist/src/main"]

0 commit comments

Comments
 (0)