Skip to content

Commit bdc0130

Browse files
committed
Improved sourcecode docker container
1 parent a8f5c7c commit bdc0130

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

docker/sourcecode/Dockerfile renamed to Dockerfile-Source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
FROM ubuntu:14.04
1313

14-
ADD entrypoint.sh /entrypoint.sh
14+
ADD bin/entrypoint.sh /entrypoint.sh
1515

1616
RUN mkdir -p /docker/code/
1717
RUN chmod -R 777 /docker/code/

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ rebuild:
3737
#############################
3838

3939
cloud-build:
40-
mkdir -p docker/sourcecode/code
41-
rsync -a code/ docker/sourcecode/code/
4240
docker-compose --file docker-compose-cloud.yml build
4341
docker-compose --file docker-compose-cloud.yml build --no-cache sourcecode
4442
docker-compose --file docker-compose-cloud.yml stop
File renamed without changes.

docker-compose-cloud.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ mysql:
136136
# sourcecode
137137
#######################################
138138
sourcecode:
139-
build: docker/sourcecode/
139+
build: .
140+
dockerfile: Dockerfile-Source
140141
volumes:
141142
- /docker/code/
142143
env_file:

docker/sourcecode/code/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)