Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:21
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY testProjectExocoreWeb.zip .
|
| 6 |
+
|
| 7 |
+
RUN apt-get update && apt-get install -y unzip && \
|
| 8 |
+
unzip testProjectExocoreWeb.zip && \
|
| 9 |
+
chmod -R 755 testProjectExocoreWeb && \
|
| 10 |
+
cd testProjectExocoreWeb && npm install
|
| 11 |
+
|
| 12 |
+
WORKDIR /app/testProjectExocoreWeb
|
| 13 |
+
|
| 14 |
+
CMD ["npm", "start"]
|