Spaces:
Build error
Build error
Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM docker:latest
|
2 |
+
|
3 |
+
RUN apk add --no-cache py-pip python3-dev libffi-dev openssl-dev gcc libc-dev make
|
4 |
+
RUN pip install docker-compose
|
5 |
+
|
6 |
+
VOLUME /var/run/docker.sock
|
7 |
+
VOLUME /code
|
8 |
+
|
9 |
+
COPY . ./code
|
10 |
+
WORKDIR /code
|
11 |
+
|
12 |
+
CMD ["docker-compose", "up"]
|