Spaces:
Sleeping
Sleeping
abubasith86
commited on
Commit
·
7f09b9f
1
Parent(s):
78b6074
Test1
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -24,7 +24,7 @@ RUN apt-get update && apt-get install -y git
|
|
24 |
RUN git clone https://github.com/abubasith456/Node-WLA.git /usr/src/app
|
25 |
|
26 |
# Print the last commit message
|
27 |
-
|
28 |
|
29 |
# Set the working directory
|
30 |
WORKDIR /usr/src/app
|
@@ -38,6 +38,5 @@ RUN npm ci
|
|
38 |
EXPOSE 5000
|
39 |
|
40 |
# Start the application
|
41 |
-
|
42 |
-
CMD git --no-pager log -1 --pretty=format:"Last commit: %h - %s" && npm start
|
43 |
|
|
|
24 |
RUN git clone https://github.com/abubasith456/Node-WLA.git /usr/src/app
|
25 |
|
26 |
# Print the last commit message
|
27 |
+
RUN git --no-pager log -1
|
28 |
|
29 |
# Set the working directory
|
30 |
WORKDIR /usr/src/app
|
|
|
38 |
EXPOSE 5000
|
39 |
|
40 |
# Start the application
|
41 |
+
CMD ["npm", "start"]
|
|
|
42 |
|