Skip to content

Commit df2a055

Browse files
committed
add test_build files to test service build
1 parent 979445a commit df2a055

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ubuntu
2+
3+
RUN \
4+
apt-get update && \
5+
apt-get install -y nginx && service nginx start && echo "BACKEND"
6+
7+
CMD ["bash"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ubuntu
2+
3+
RUN \
4+
apt-get update && \
5+
apt-get install -y nginx && service nginx start
6+
7+
CMD ["bash"]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
frontend:
3+
build: ./build_things
4+
5+
backend:
6+
build:
7+
context: backend
8+
#dockerfile: ../backend.Dockerfile

0 commit comments

Comments
 (0)