Skip to content

Commit

Permalink
chore: move source files to src
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitblanc committed Apr 18, 2024
1 parent df3fadc commit c2435d3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM sourcepole/qwc-uwsgi-base:alpine-v2023.10.26

ADD . /srv/qwc_service
ADD requirements/requirements.txt /srv/qwc_service/requirements.txt

RUN \
apk add --no-cache --update --virtual runtime-deps postgresql-libs && \
apk add --no-cache --update --virtual build-deps git postgresql-dev g++ python3-dev && \
pip3 install --no-cache-dir -r /srv/qwc_service/requirements/requirements.txt && \
pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt && \
apk del build-deps

ADD src /srv/qwc_service/

ENV SERVICE_MOUNTPOINT=/api/v1/postgresfts
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ Configure environment:

Start local service:

python server.py
python src/server.py

Testing
-------

Run all tests:

python test.py
python src/test.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c2435d3

Please sign in to comment.