Spaces:
Running
Running
Commit
·
19cd995
1
Parent(s):
8c869bb
update: dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -17,7 +17,7 @@ COPY . .
|
|
17 |
RUN rm -f -- .env
|
18 |
|
19 |
# Build the TypeScript code
|
20 |
-
RUN npm run build
|
21 |
|
22 |
# Set the PORT environment variable
|
23 |
ENV PORT=7860
|
@@ -29,4 +29,5 @@ ARG DB_URI
|
|
29 |
EXPOSE $PORT
|
30 |
|
31 |
# Command to run the application
|
32 |
-
CMD ["node", "dist/index.js"]
|
|
|
|
17 |
RUN rm -f -- .env
|
18 |
|
19 |
# Build the TypeScript code
|
20 |
+
#RUN npm run build
|
21 |
|
22 |
# Set the PORT environment variable
|
23 |
ENV PORT=7860
|
|
|
29 |
EXPOSE $PORT
|
30 |
|
31 |
# Command to run the application
|
32 |
+
#CMD ["node", "dist/index.js"]
|
33 |
+
CMD ["npm", "run", "start:dev"]
|