Skip to content

Commit

Permalink
remove test level frombackend dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mahula committed Jun 26, 2024
1 parent db3059b commit e49a929
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,6 @@ RUN npm install --include=dev --frozen-lockfile --non-interactive
# npm build
RUN npm run build

##################################################################################
# TEST ###########################################################################
##################################################################################
FROM base as test

# Copy everything
COPY . .
# npm install including dev dependencies to be able to compile
RUN npm install --include=dev --frozen-lockfile --non-interactive
# npm build
RUN npm run build

# Run command
CMD /bin/sh -c "npm run start"

##################################################################################
# PRODUCTION (Does contain only "binary"- and static-files to reduce image size) #
##################################################################################
Expand Down

0 comments on commit e49a929

Please sign in to comment.