Skip to content

Commit

Permalink
ci: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn committed Jun 6, 2024
1 parent e92ff18 commit c447ef3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ COPY . .

# [optional] tests & build
ENV NODE_ENV=production

# Create .pylon folder (mkdir)
RUN mkdir .pylon
# RUN bun test
RUN bun run pylon build

# copy production dependencies and source code into final image
# copy production dependencies and asource code into final image
FROM base AS release
RUN apt-get update -y && apt-get install -y openssl
COPY --from=install /temp/prod/node_modules node_modules
Expand Down

0 comments on commit c447ef3

Please sign in to comment.