Skip to content

Commit

Permalink
OPS: Use setup.py instead of requirements-dev.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Apr 21, 2022
1 parent 8a46cef commit 8601ac2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ ENV PYTHONUNBUFFERED True
ENV PROJECT_ROOT=/app
WORKDIR $PROJECT_ROOT

COPY requirements-dev.txt .
COPY setup.py setup.py
COPY . .

RUN pip3 install -r requirements-dev.txt
RUN pip3 install -e .

EXPOSE $PORT

Expand Down
4 changes: 0 additions & 4 deletions requirements-dev.txt

This file was deleted.

11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from setuptools import setup


setup(
name="turbsim-service",
version="0.1.0",
py_modules=["app"],
install_requires=[
"octue @ https://github.com/octue/octue-sdk-python/archive/fix/miscellaneous-fixes.zip",
],
)

0 comments on commit 8601ac2

Please sign in to comment.