Spaces:
Running
Running
Push to HF space
Browse files- Dockerfile +3 -0
- docker_start.sh +0 -3
Dockerfile
CHANGED
@@ -42,5 +42,8 @@ COPY --chown=user docker_start.sh ./
|
|
42 |
RUN mkdir -p ./data
|
43 |
RUN chown -R user ./data
|
44 |
|
|
|
|
|
|
|
45 |
EXPOSE 5432
|
46 |
CMD ["bash", "docker_start.sh"]
|
|
|
42 |
RUN mkdir -p ./data
|
43 |
RUN chown -R user ./data
|
44 |
|
45 |
+
RUN mkdir -p /data
|
46 |
+
RUN chown -R user /data
|
47 |
+
|
48 |
EXPOSE 5432
|
49 |
CMD ["bash", "docker_start.sh"]
|
docker_start.sh
CHANGED
@@ -3,9 +3,6 @@
|
|
3 |
# Fail if any of the commands below fail.
|
4 |
set -e
|
5 |
|
6 |
-
mkdir -p /data
|
7 |
-
sudo chmod 777 /data
|
8 |
-
|
9 |
lilac hf-docker-start
|
10 |
gunicorn lilac.server:app \
|
11 |
--bind 0.0.0.0:5432 \
|
|
|
3 |
# Fail if any of the commands below fail.
|
4 |
set -e
|
5 |
|
|
|
|
|
|
|
6 |
lilac hf-docker-start
|
7 |
gunicorn lilac.server:app \
|
8 |
--bind 0.0.0.0:5432 \
|