Spaces:
Runtime error
Runtime error
Commit
·
83213d1
1
Parent(s):
7114b96
added permissions
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -21,6 +21,11 @@ WORKDIR /server
|
|
| 21 |
COPY ./server /server
|
| 22 |
COPY --from=client-builder /client/build /client/build
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
# Install node_modules and run project
|
| 25 |
RUN npm install
|
| 26 |
CMD npm run server
|
|
|
|
| 21 |
COPY ./server /server
|
| 22 |
COPY --from=client-builder /client/build /client/build
|
| 23 |
|
| 24 |
+
# permissions
|
| 25 |
+
RUN chmod g+w /server;
|
| 26 |
+
|
| 27 |
+
RUN ls -lh
|
| 28 |
+
|
| 29 |
# Install node_modules and run project
|
| 30 |
RUN npm install
|
| 31 |
CMD npm run server
|