vertex2api / Dockerfile
smgc's picture
Update Dockerfile
1ce1f51 verified
raw
history blame
No virus
377 Bytes
FROM node:14
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
ENV PROJECT_ID=your_project_id
ENV CLIENT_ID=your_client_id
ENV CLIENT_SECRET=your_client_secret
ENV REFRESH_TOKEN=your_refresh_token
ENV API_KEY=your_api_key
CMD [ "node", "app.js" ]