Skip to content

Commit

Permalink
Initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemamolette committed Aug 18, 2023
1 parent fb00bc3 commit eeb263c
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 57 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
requirements.in
.github
README.md
.gitignore
13 changes: 13 additions & 0 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Docker Image CD

on:
push:
branches: [ master, next ]
jobs:
docker-build-squash-push:
uses: Geode-solutions/actions/.github/workflows/docker-build-squash-push.yml@master
with:
image_name: 'opengeodeweb_viewer'
tag: ${{ github.ref_name }}
secrets:
TOKEN: ${{secrets.GITHUB_TOKEN}}
6 changes: 0 additions & 6 deletions .pypirc

This file was deleted.

11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ghcr.io/geode-solutions/vtk:3.9-cpu

WORKDIR /app

COPY . .
RUN pip3 install --user -r requirements.txt && pip3 cache purge
ENV PYTHONPATH="/usr/local:$PYTHONPATH"

CMD python vtkw-server.py --port 1234 --host 0.0.0.0

EXPOSE 1234
45 changes: 0 additions & 45 deletions pyproject.toml

This file was deleted.

8 changes: 2 additions & 6 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
OpenGeode-core
OpenGeode-IO
OpenGeode-Inspector
OpenGeode-Geosciences
OpenGeode-GeosciencesIO
Geode-Viewables
wslink
numpy
32 changes: 32 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements.in
#
aiohttp==3.8.5
# via wslink
aiosignal==1.3.1
# via aiohttp
async-timeout==4.0.3
# via aiohttp
attrs==23.1.0
# via aiohttp
charset-normalizer==3.2.0
# via aiohttp
frozenlist==1.4.0
# via
# aiohttp
# aiosignal
idna==3.4
# via yarl
multidict==6.0.4
# via
# aiohttp
# yarl
numpy==1.25.2
# via -r requirements.in
wslink==1.11.1
# via -r requirements.in
yarl==1.9.2
# via aiohttp
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit eeb263c

Please sign in to comment.