Skip to content

Commit 686b402

Browse files
committed
Fix npm installation issue
1 parent cb7371d commit 686b402

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ RUN chmod a+x /usr/local/bin/*
2929
RUN apk --no-cache add curl
3030
RUN apk --no-cache add jq
3131
COPY start.sh /
32-
COPY mailing/* /mailing
33-
RUN apk add --no-cache nodejs-current --repository="http://dl-cdn.alpinelinux.org/alpine/edge/community"
32+
COPY mailing/* /mailing/
33+
RUN apk add --no-cache nodejs nodejs-npm
3434
RUN npm install -g yarn && npm install -g typescript && npm install -g ts-node
3535
RUN cd /mailing && yarn
36-
RUN ts-node ./sendMails.ts
36+
#RUN ts-node /mailing/sendMails.ts
3737

3838
# Add support for OTP authentication using a PAM module
3939
ADD ./otp/openvpn /etc/pam.d/

0 commit comments

Comments
 (0)