-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 271ea6e
Showing
8 changed files
with
4,030 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
apify_storage | ||
node_modules |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Dockerfile contains instructions how to build a Docker image that will contain | ||
# all the code and configuration needed to run your actor. For a full | ||
# Dockerfile reference, see https://docs.docker.com/engine/reference/builder/ | ||
|
||
# First, specify the base Docker image. Apify provides the following base images | ||
# for your convenience: | ||
# apify/actor-node-basic (Node.js on Alpine Linux, small and fast image) | ||
# apify/actor-node-chrome (Node.js + Chrome on Debian) | ||
# apify/actor-node-chrome-xvfb (Node.js + Chrome + Xvfb on Debian) | ||
# For more information, see https://apify.com/docs/actor#base-images | ||
# Note that you can use any other image from Docker Hub. | ||
FROM apify/actor-node-chrome | ||
|
||
# Second, copy just package.json and package-lock.json since they are the only files | ||
# that affect NPM install in the next step | ||
COPY package*.json ./ | ||
|
||
# Install NPM packages, skip optional and development dependencies to keep the | ||
# image small. Avoid logging too much and print the dependency tree for debugging | ||
RUN npm --quiet set progress=false \ | ||
&& npm install --only=prod --no-optional \ | ||
&& echo "Installed NPM packages:" \ | ||
&& npm list \ | ||
&& echo "Node.js version:" \ | ||
&& node --version \ | ||
&& echo "NPM version:" \ | ||
&& npm --version | ||
|
||
# Next, copy the remaining files and directories with the source code. | ||
# Since we do this after NPM install, quick build will be really fast | ||
# for simple source file changes. | ||
COPY . ./ | ||
|
||
# Optionally, specify how to launch the source code of your actor. | ||
# By default, Apify's base Docker images define the CMD instruction | ||
# that runs the Node.js source code using the command specified | ||
# in the "scripts.start" section of the package.json file. | ||
# In short, the instruction looks something like this: | ||
# | ||
# CMD npm start |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"title": "Input schema for the apify_project actor.", | ||
"type": "object", | ||
"schemaVersion": 1, | ||
"properties": { | ||
"test": { | ||
"title": "Test", | ||
"type": "string", | ||
"description": "There is testing input field description.", | ||
"editor": "textfield" | ||
} | ||
}, | ||
"required": [] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Apify project template | ||
|
||
Before you start writing your first actor, please read [Apify Marketplace developers WIKI](https://gitlab.com/apify-public/wiki/wikis/home). |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "upwork-scraper", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
"env": null, | ||
"template": "apify_project" | ||
} |
Oops, something went wrong.