Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
@@ -2,12 +2,15 @@
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
FROM node:19
|
5 |
-
|
6 |
WORKDIR /app
|
|
|
7 |
COPY . .
|
8 |
-
|
|
|
9 |
RUN npm i
|
10 |
RUN npm run build
|
|
|
|
|
11 |
ENV PORT=7860
|
12 |
-
CMD ["ls", "-a"]
|
13 |
CMD ["node", "build"]
|
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
FROM node:19
|
5 |
+
RUN ls -a
|
6 |
WORKDIR /app
|
7 |
+
|
8 |
COPY . .
|
9 |
+
RUN ls -a
|
10 |
+
|
11 |
RUN npm i
|
12 |
RUN npm run build
|
13 |
+
RUN ls -a
|
14 |
+
|
15 |
ENV PORT=7860
|
|
|
16 |
CMD ["node", "build"]
|