Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -10,6 +10,7 @@ RUN npm install
|
|
10 |
RUN --mount=type=secret,id=API_KEY,mode=0444,required=true \
|
11 |
echo "GOOGLE_API_KEY=$(cat /run/secrets/API_KEY)" > /app/config/.env
|
12 |
RUN cat /app/config/.env
|
|
|
13 |
#RUN npm run build
|
14 |
# Start the server by default, this can be overwritten at runtime
|
15 |
EXPOSE 3000
|
|
|
10 |
RUN --mount=type=secret,id=API_KEY,mode=0444,required=true \
|
11 |
echo "GOOGLE_API_KEY=$(cat /run/secrets/API_KEY)" > /app/config/.env
|
12 |
RUN cat /app/config/.env
|
13 |
+
RUN chmod -R 777 /app/node_modules/
|
14 |
#RUN npm run build
|
15 |
# Start the server by default, this can be overwritten at runtime
|
16 |
EXPOSE 3000
|