Skip to content

Commit

Permalink
Reproduce 1301 (hyperjumptech#1304)
Browse files Browse the repository at this point in the history
* testing changes in Dockerfile

* problem reproduced, fixed and testing
suyono3484 authored Jul 2, 2024

Verified

This commit was signed with the committer’s verified signature.
nicosomb Nicolas Lœuillet
1 parent 0537049 commit eaa3107
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
packages/notification/node_modules
.nyc_output
.github
.vscode
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:20-alpine AS builder

RUN apk update && apk add python3 py3-setuptools make gcc

WORKDIR /monika

COPY package*.json ./
@@ -16,6 +18,8 @@ RUN npm pack

FROM node:18-alpine AS runner

RUN apk update && apk add python3 py3-setuptools make gcc

COPY --from=builder /monika/hyperjumptech-monika-*.tgz ./
COPY --from=builder /monika/packages/notification/hyperjumptech-monika-notification-*.tgz ./packages/notification/
RUN npm install -g --unsafe-perm ./hyperjumptech-monika-*.tgz

0 comments on commit eaa3107

Please sign in to comment.