Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +8 -1
Dockerfile
CHANGED
@@ -3,10 +3,17 @@ FROM node:14
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY package.json .
|
6 |
-
COPY app.js .
|
7 |
|
8 |
RUN npm install
|
9 |
|
|
|
|
|
10 |
EXPOSE 8080
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
CMD [ "node", "app.js" ]
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY package.json .
|
|
|
6 |
|
7 |
RUN npm install
|
8 |
|
9 |
+
COPY app.js .
|
10 |
+
|
11 |
EXPOSE 8080
|
12 |
|
13 |
+
ENV PROJECT_ID=$PROJECT_ID
|
14 |
+
ENV CLIENT_ID=$CLIENT_ID
|
15 |
+
ENV CLIENT_SECRET=$CLIENT_SECRET
|
16 |
+
ENV REFRESH_TOKEN=$REFRESH_TOKEN
|
17 |
+
ENV API_KEY=$API_KEY
|
18 |
+
|
19 |
CMD [ "node", "app.js" ]
|