chore: Update Dockerfile to use pm2-runtime for running the application
Build and Push Docker Images / build-and-push (push) Successful in 19s
Build and Push Docker Images / build-and-push (push) Successful in 19s
This commit is contained in:
@@ -4,7 +4,7 @@ WORKDIR /config
|
||||
ENV API_URL https://api.comedykit.be/
|
||||
ENV ROOT_PATH /react-app
|
||||
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
|
||||
WORKDIR /server
|
||||
@@ -23,4 +23,4 @@ RUN npm install
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
CMD "pm2-runtime" "index.js"
|
||||
ENTRYPOINT ["pm2-runtime", "index.js"]
|
||||
Reference in New Issue
Block a user