Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -42,8 +42,12 @@ COPY --from=builder /app/enclosed/packages/app-server/dist-node/index.cjs ./inde
|
|
42 |
|
43 |
RUN git clone https://kogakisaki:[email protected]/kogakisaki/enclosed-db ./.data
|
44 |
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
47 |
|
48 |
RUN chown -R 1000 /app/.data
|
49 |
RUN chmod 777 /app/.data
|
|
|
42 |
|
43 |
RUN git clone https://kogakisaki:[email protected]/kogakisaki/enclosed-db ./.data
|
44 |
|
45 |
+
WORKDIR /app/.data
|
46 |
+
|
47 |
+
RUN git config user.name "kogakisaki" && \
|
48 |
+
git config user.email "[email protected]"
|
49 |
+
|
50 |
+
WORKDIR /app
|
51 |
|
52 |
RUN chown -R 1000 /app/.data
|
53 |
RUN chmod 777 /app/.data
|