Spaces:
Runtime error
Runtime error
Esteves Enzo
commited on
Commit
·
7dd5baa
1
Parent(s):
e270a74
build error no perm
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -16,6 +16,9 @@ RUN npm install
|
|
| 16 |
|
| 17 |
VOLUME /data
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# Copy the rest of the application files to the container
|
| 20 |
COPY --chown=1000 . .
|
| 21 |
RUN chmod +x entrypoint.sh
|
|
@@ -26,8 +29,5 @@ RUN npm run build
|
|
| 26 |
# Expose the application port (assuming your app runs on port 3000)
|
| 27 |
EXPOSE 3002
|
| 28 |
|
| 29 |
-
RUN mkdir -p /app/node_modules/@xenova/.cache/
|
| 30 |
-
RUN chmod 777 -R /app/node_modules/@xenova/
|
| 31 |
-
|
| 32 |
# Start the application
|
| 33 |
ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
|
|
|
|
| 16 |
|
| 17 |
VOLUME /data
|
| 18 |
|
| 19 |
+
RUN mkdir -p /app/node_modules/@xenova/.cache/
|
| 20 |
+
RUN chmod 777 -R /app/node_modules/@xenova/
|
| 21 |
+
|
| 22 |
# Copy the rest of the application files to the container
|
| 23 |
COPY --chown=1000 . .
|
| 24 |
RUN chmod +x entrypoint.sh
|
|
|
|
| 29 |
# Expose the application port (assuming your app runs on port 3000)
|
| 30 |
EXPOSE 3002
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
# Start the application
|
| 33 |
ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
|