Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -16,11 +16,14 @@ RUN apt-get update && apt-get install -y git python-is-python3 make build-essent
|
|
16 |
&& chown -R electerm:electerm /home/electerm && chmod 755 /home/electerm
|
17 |
|
18 |
USER electerm
|
|
|
19 |
# RUN chown -R electerm:electerm /home/electerm
|
20 |
WORKDIR /app
|
21 |
RUN chown -R electerm:electerm /app \
|
22 |
# Set the working directory in the Docker container
|
23 |
-
&& git clone --depth 1 https://github.com/electerm/electerm-web.git
|
|
|
|
|
24 |
WORKDIR /app/electerm-web
|
25 |
RUN npm uninstall @playwright/test chai playwright \
|
26 |
&& npm i \
|
|
|
16 |
&& chown -R electerm:electerm /home/electerm && chmod 755 /home/electerm
|
17 |
|
18 |
USER electerm
|
19 |
+
|
20 |
# RUN chown -R electerm:electerm /home/electerm
|
21 |
WORKDIR /app
|
22 |
RUN chown -R electerm:electerm /app \
|
23 |
# Set the working directory in the Docker container
|
24 |
+
&& git clone --depth 1 https://github.com/electerm/electerm-web.git && \
|
25 |
+
mkdir -p /app/electerm-web/data/electerm_session_logs && \
|
26 |
+
chown -R electerm:electerm /app/electerm-web
|
27 |
WORKDIR /app/electerm-web
|
28 |
RUN npm uninstall @playwright/test chai playwright \
|
29 |
&& npm i \
|