chore: Update Dockerfile to use pm2-runtime for running the application
Build and Push Docker Images / build-and-push (push) Successful in 19s

This commit is contained in:
2024-08-03 17:46:02 +02:00
parent 3810c867fd
commit a338110c59
+2 -2
View File
@@ -4,7 +4,7 @@ WORKDIR /config
ENV API_URL https://api.comedykit.be/ ENV API_URL https://api.comedykit.be/
ENV ROOT_PATH /react-app ENV ROOT_PATH /react-app
ENV DEFAULT_TITLE ComedyKit ENV DEFAULT_TITLE ComedyKit
env DEFAULT_DESCRIPTION Ontdek je lach en deel je humor op het meest bruisende comedy platform van Vlaanderen. ENV DEFAULT_DESCRIPTION Ontdek je lach en deel je humor op het meest bruisende comedy platform van Vlaanderen.
# Create app directory # Create app directory
WORKDIR /server WORKDIR /server
@@ -23,4 +23,4 @@ RUN npm install
COPY . . COPY . .
EXPOSE 3000 EXPOSE 3000
CMD "pm2-runtime" "index.js" ENTRYPOINT ["pm2-runtime", "index.js"]