Skip to content

Commit a1fbb3a

Browse files
committed
adjust Dockerfile and build command to docker hub requirements
1 parent f63c8d9 commit a1fbb3a

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test/
2+
.pytest_cache/
3+
.idea

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test: ## run testinfra tests against the project
55
aveltens/docker-testinfra
66

77
build: ## build the docker image
8-
docker build -t aveltens/solid-server ./src
8+
docker build --file ./src/Dockerfile --tag aveltens/solid-server .
99

1010
inspect: build ## run a shell in the docker image
1111
docker run --rm -it --entrypoint sh aveltens/solid-server

src/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ENV PROCESS_USER=node
1010
ENV TEMPORARY_CERT_NAME=solid-temporary
1111

1212
WORKDIR ${SOLID_HOME}
13-
COPY ./entrypoint.sh ./entrypoint.sh
14-
COPY ./create-temporary-cert.sh ./create-temporary-cert.sh
13+
COPY ./src/entrypoint.sh ./entrypoint.sh
14+
COPY ./src/create-temporary-cert.sh ./create-temporary-cert.sh
1515
RUN chown --recursive ${PROCESS_USER}:${PROCESS_USER} ${SOLID_HOME}
1616

1717
USER ${PROCESS_USER}

0 commit comments

Comments
 (0)