Last active
August 15, 2019 23:26
-
-
Save adam-phillipps/6ffc5e4a2062750276bbffd1a4e0c3b0 to your computer and use it in GitHub Desktop.
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
version: '3.1' | |
services: | |
account_adjuster: | |
# image: . | |
image: <salesforce-srm-account-adjuster>:latest | |
build: . | |
depends_on: | |
- selenium | |
command: | |
- python | |
- /usr/src/app/activateStudentSrmUser3.py | |
env_file: | |
.env | |
links: | |
- selenium | |
environment: | |
# - LOG_LEVEL=DEBUG | |
- SELENIUM_HOST=selenium | |
- SELENIUM_PORT=4444 | |
stdin_open: true | |
tty: true | |
selenium: | |
image: selenium/standalone-firefox:3.141.59-dubnium | |
stdin_open: true | |
tty: true | |
volumes: | |
- /dev/shm:/dev/shm |
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
FROM python:2 | |
WORKDIR /usr/src/app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
RUN chmod 700 ./entrypoint.sh | |
ENV RESULTS_LOCATION \ | |
SALESFORCE_USERNAME \ | |
SALESFORCE_PASSWORD \ | |
SALESFORCE_SECURITY_TOKEN | |
ENTRYPOINT ["./entrypoint.sh"] | |
CMD ["python", "<whatever script>.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment