Spaces:
Running
Running
update dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -4,13 +4,12 @@ FROM node:18
|
|
| 4 |
USER 1000
|
| 5 |
|
| 6 |
ENV PUPPETEER_SKIP_DOWNLOAD=True
|
|
|
|
|
|
|
| 7 |
|
| 8 |
RUN apt-get update
|
| 9 |
RUN apt-get install chromium -y
|
| 10 |
|
| 11 |
-
# Set the working directory in the container
|
| 12 |
-
WORKDIR /usr/src/app
|
| 13 |
-
|
| 14 |
# Copy package.json and package-lock.json to the container
|
| 15 |
COPY --chown=1000 package.json package-lock.json ./
|
| 16 |
|
|
|
|
| 4 |
USER 1000
|
| 5 |
|
| 6 |
ENV PUPPETEER_SKIP_DOWNLOAD=True
|
| 7 |
+
# Set the working directory in the container
|
| 8 |
+
WORKDIR /usr/src/app
|
| 9 |
|
| 10 |
RUN apt-get update
|
| 11 |
RUN apt-get install chromium -y
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
# Copy package.json and package-lock.json to the container
|
| 14 |
COPY --chown=1000 package.json package-lock.json ./
|
| 15 |
|