Spaces:
Runtime error
Runtime error
Commit
·
42de052
1
Parent(s):
dc244dc
added docker file
Browse files- DockerFile +14 -0
DockerFile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:20-bullseye-slim
|
| 2 |
+
|
| 3 |
+
EXPOSE 3000
|
| 4 |
+
COPY ./ ./
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
RUN cd client
|
| 8 |
+
RUN npm install
|
| 9 |
+
RUN npm run build
|
| 10 |
+
RUN cd ..
|
| 11 |
+
|
| 12 |
+
RUN cd server
|
| 13 |
+
RUN npm install
|
| 14 |
+
CMD npm run server
|