Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rock - Hannah Lumapas #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
]
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"python.pythonPath": "venv/bin/python",
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true
}
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# Install latest version of node
FROM continuumio/anaconda3:latest
FROM continuumio/anaconda3: latest

RUN apt-get update && apt-get install -y \
RUN apt-get update & & apt-get install - y \
build-essential \
ca-certificates \
curl \
sudo \
openssl \
libssl-dev libffi-dev \
--no-install-recommends
- -no-install-recommends

# Create directory for app
RUN mkdir /app
RUN mkdir / app

# Set as current directory for RUN, ADD, COPY commands
WORKDIR /app
WORKDIR / app

# Add to PATH
ENV PATH /app:$PATH
ENV PATH / app: $PATH

# Add requirements.txt from upstream
ADD requirements.txt /app
RUN pip install -r /app/requirements.txt
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
ADD $SUBMISSION_SUBFOLDER / app

# Overwrite files in student fork with upstream files
ADD test.sh /app
ADD tests /app/tests
ADD test.sh / app
ADD tests / app/tests

# User defined requirements
# RUN make init
Loading