Commit
·
3932381
1
Parent(s):
faa59e7
Update Dockerfile
Browse files- Dockerfile +0 -1
Dockerfile
CHANGED
|
@@ -4,7 +4,6 @@ FROM node:18 AS base
|
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
# Create the cache directory with the correct permissions before switching to the node user
|
| 7 |
-
USER root
|
| 8 |
RUN mkdir -p /app/node_modules/@xenova/transformers/.cache && \
|
| 9 |
chown -R node:node /app/node_modules
|
| 10 |
|
|
|
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
# Create the cache directory with the correct permissions before switching to the node user
|
|
|
|
| 7 |
RUN mkdir -p /app/node_modules/@xenova/transformers/.cache && \
|
| 8 |
chown -R node:node /app/node_modules
|
| 9 |
|