Spaces:
Runtime error
Runtime error
deepkyu
commited on
Commit
•
424d3b0
1
Parent(s):
aa17d83
update test docker context
Browse files- Dockerfile +7 -0
- docker-compose.yml +16 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM nvcr.io/nvidia/pytorch:22.03-py3
|
2 |
+
|
3 |
+
ARG DEBIAN_FRONTEND=noninteractive
|
4 |
+
RUN apt-get update
|
5 |
+
RUN apt-get install ffmpeg libsm6 libxext6 tmux git -y
|
6 |
+
|
7 |
+
WORKDIR /workspace
|
docker-compose.yml
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: "3.9"
|
2 |
+
|
3 |
+
# docker compose run --service-ports --name bk-sdm-hksong bk-sdm bash
|
4 |
+
|
5 |
+
services:
|
6 |
+
bk-sdm:
|
7 |
+
image: bk-sdm:dev
|
8 |
+
build: ./
|
9 |
+
container_name: bk-sdm-hksong
|
10 |
+
ipc: host
|
11 |
+
ports:
|
12 |
+
- "7861:7861"
|
13 |
+
volumes:
|
14 |
+
- /data2/hksong/bk-sdm:/workspace
|
15 |
+
- /data2/hksong/DATA:/DATA
|
16 |
+
- /data2/hksong/LOG:/LOG
|