Skip to content

Commit

Permalink
interim dev checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Sep 12, 2019
1 parent 25b9b5c commit 84d3d77
Show file tree
Hide file tree
Showing 7 changed files with 4,046 additions and 3,007 deletions.
16 changes: 15 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,29 @@ RUN ./install_requirements.sh

# CMD bash

# [backend setup]
# Install Python dependencies
COPY requirements.txt requirements.txt
RUN pip3 install --no-cache-dir -r requirements.txt

# Copy source
COPY . .

# [frontend setup]
# install npm packages
# cd ambianic/webapp/client
# npm install node
# npm install --save vue
# npm install --save-dev parcel-bundler
# ...
# build frontend bundles
# parcel ...
# cleanup
# remove npm, parcel and other build time tools

# expose http port
EXPOSE 8778

# CMD bash
CMD [ "python3", "ambianic.py", "--workspace", "/workspace" ]
ENTRYPOINT ["bash"]
# CMD [ "ambianic_start_daemon.sh" ]
Loading

0 comments on commit 84d3d77

Please sign in to comment.