Skip to content

Commit

Permalink
added unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a1cd committed Jul 3, 2024
1 parent 6573ec0 commit 61f12f4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,6 @@ COPY vitest.config.ts .
#ENTRYPOINT ["bash"]
RUN ["bun", "--bun", "run", "postinstall"]

FROM files as test

COPY ./tests ./tests

RUN bun run test run
RUN echo hello > test.txt

FROM files AS build
ENV NODE_ENV development

Expand All @@ -116,8 +109,6 @@ WORKDIR /usr/src/nuxt3-app

RUN #apk upgrade --no-cache && apk add --no-cache libstdc++

COPY --from=test test.txt test.txt

COPY --from=build /usr/src/nuxt3-app/.output .output

EXPOSE 3000
Expand Down

0 comments on commit 61f12f4

Please sign in to comment.