Spaces:
Running
Running
Ahmad Schinner
commited on
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
-
FROM node:18-alpine
|
2 |
|
3 |
# Install dependencies
|
|
|
|
|
4 |
RUN npm install express axios cheerio
|
5 |
|
6 |
# Copy your application code
|
|
|
1 |
+
FROM docker.io/library/node:18-alpine@sha256:02376a266c84acbf45bd19440e08e48b1c8b98037417334046029ab585de03e2
|
2 |
|
3 |
# Install dependencies
|
4 |
+
RUN npm cache clean --force
|
5 |
+
RUN rm -rf /root/.npm/_locks/idealTree* # Remove potential locks
|
6 |
RUN npm install express axios cheerio
|
7 |
|
8 |
# Copy your application code
|