Skip to content

Commit f428b1c

Browse files
Merge pull request ousamabenyounes#13 from ousamabenyounes/main
Update README.md & updating Dockerfile (fixing missing Image optimization)
2 parents 2c3c42b + f1efa1f commit f428b1c

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ ENV CHROMIUM_VERSION 86.0.4240.111-r0
88
WORKDIR /usr/src/ylt
99

1010
RUN apk upgrade --update && apk --no-cache add git gcc make g++ zlib-dev libjpeg-turbo-dev nasm
11-
RUN git clone https://github.com/gmetais/YellowLabTools.git -b ${VERSION} . \
12-
&& git checkout e9ab1fd \
13-
&& NODE_ENV=development && npm install --only=prod
14-
15-
1611
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories \
1712
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
1813
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
@@ -27,7 +22,9 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositorie
2722
harfbuzz \
2823
nss \
2924
ttf-freefont
30-
25+
RUN git clone https://github.com/gmetais/YellowLabTools.git -b ${VERSION} . \
26+
&& git checkout e9ab1fd \
27+
&& NODE_ENV=development && npm install --only=prod
3128

3229

3330
RUN which chromium-browser

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ This image will be updated continuously.
88
```
99
docker run --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
1010
```
11+
or if you prefer to run it in detached mode adding -d option
12+
13+
```
14+
docker run -d --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
15+
```
1116

1217
And then open [`http://localhost:8383/`](http://localhost:8383/) on your web browser.
1318

0 commit comments

Comments
 (0)