Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassuedbroecker committed Oct 21, 2023
2 parents 6e5a663 + 28a39b0 commit 6872fc6
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions code/node-js-extension/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##############################
# BUILD
##############################
FROM node:19-alpine as BUILD
FROM node:20-alpine as BUILD

# Create app directory
WORKDIR /usr/src/app
Expand All @@ -17,13 +17,12 @@ COPY server.js ./
##############################
# PRODUCTION
##############################
FROM node:19-alpine
FROM node:20-alpine


RUN apk --no-cache add curl=7.83.1-r6
RUN apk --no-cache add libcrypto1.1=1.1.1t-r1
RUN apk --no-cache add libssl1.1=1.1.1t-r1
RUN apk update
# RUN apk update
# RUN apk --no-cache add curl=7.83.1-r6
# RUN apk --no-cache add libcrypto1.1=1.1.1t-r1
# RUN apk --no-cache add libssl1.1=1.1.1t-r1

# Set permissions
WORKDIR /usr/src/app
Expand All @@ -37,4 +36,4 @@ COPY ./docker_entrypoint.sh .
COPY ./generate_env-config.sh .

EXPOSE 3000
CMD ["/bin/sh","docker_entrypoint.sh"]
CMD ["/bin/sh","docker_entrypoint.sh"]

0 comments on commit 6872fc6

Please sign in to comment.