Skip to content

Commit

Permalink
chore: @nestjs-modules/mailer vulnerability fix # see nest-modules/ma…
Browse files Browse the repository at this point in the history
…iler#1196

refactor: logger not saving access into log table, just logging to with logger from nestjs
  • Loading branch information
RenanGalvao committed Aug 5, 2024
1 parent 50aa361 commit a15c2b3
Show file tree
Hide file tree
Showing 6 changed files with 1,388 additions and 685 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###################
# BASE IMAGE
###################
FROM node:21.7-alpine as base-image
FROM node:21.7-alpine AS base-image

# Create APP directory
# be aware WORKDIR creates directories as root instead of USER
Expand All @@ -26,7 +26,7 @@ RUN chown -R node:node ./node_modules/@prisma
###################
# PREVIEW IMAGE
###################
FROM node:21.7-alpine as preview-image
FROM node:21.7-alpine AS preview-image
WORKDIR /usr/src/app
ENV NODE_ENV preview
ENV TZ America/Sao_Paulo
Expand All @@ -47,7 +47,7 @@ CMD npx prisma migrate deploy; npx prisma db seed; node dist/main.js
###################
# PROD IMAGE
###################
FROM node:21.7-alpine as prod-image
FROM node:21.7-alpine AS prod-image
WORKDIR /usr/src/app
ENV NODE_ENV production
ENV TZ America/Sao_Paulo
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
version: '3.9'
services:

test-db:
image: postgres:13-alpine
ports:
Expand Down
Loading

0 comments on commit a15c2b3

Please sign in to comment.