forked from Ada-C22/viewing-party
-
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.
- Loading branch information
Showing
2 changed files
with
36 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,35 @@ | ||
# Install latest version of node | ||
FROM continuumio/anaconda3:latest | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
sudo \ | ||
openssl \ | ||
libssl-dev libffi-dev \ | ||
--no-install-recommends | ||
|
||
# Create directory for app | ||
RUN mkdir /app | ||
|
||
# Set as current directory for RUN, ADD, COPY commands | ||
WORKDIR /app | ||
|
||
# Add to PATH | ||
ENV PATH /app:$PATH | ||
|
||
# Add requirements.txt from upstream | ||
ADD requirements.txt /app | ||
RUN pip install -r /app/requirements.txt | ||
|
||
# Add entire student fork (overwrites previously added package.json) | ||
ARG SUBMISSION_SUBFOLDER | ||
ADD $SUBMISSION_SUBFOLDER /app | ||
|
||
# Overwrite files in student fork with upstream files | ||
ADD test.sh /app | ||
ADD tests /app/tests | ||
|
||
# User defined requirements | ||
# RUN make init |
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 @@ | ||
pytest |