forked from facundoolano/google-play-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from srikanthlogic/dev
Bug Fixes
- Loading branch information
Showing
9 changed files
with
38 additions
and
2,214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
# Use the official Node.js image as base | ||
FROM node:18-alpine | ||
FROM node:18-alpine AS base | ||
|
||
# Set metadata labels | ||
LABEL maintainer="Srikanth <[email protected]>" \ | ||
version="1.5.0" \ | ||
description="Docker image for running Google Play API" | ||
|
||
# Create and set the working directory | ||
WORKDIR /home/node/app | ||
WORKDIR /app | ||
|
||
FROM base as build | ||
|
||
# Copy only the package.json and package-lock.json first to leverage Docker caching | ||
COPY package*.json ./ | ||
COPY --link package-lock.json package.json ./ | ||
|
||
RUN npm install -g npm@10.1.0 | ||
RUN npm install -g npm@10.3.0 | ||
|
||
# Install dependencies | ||
RUN npm ci --quiet --omit=dev | ||
RUN npm install | ||
|
||
# Copy the rest of the application code | ||
COPY . . | ||
COPY --link . . | ||
|
||
RUN npm run generateoas | ||
|
||
RUN npm prune | ||
|
||
FROM base | ||
# Copy the rest of the application code | ||
COPY --from=build /app /app | ||
|
||
# Expose port 3000 | ||
EXPOSE 3000 | ||
|
||
|
2,186 changes: 0 additions & 2,186 deletions
2,186
Postman Collections/GooglePlayAPI.postman_collection.json.json
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters