mirror of
https://github.com/Lissy93/web-check.git
synced 2025-05-31 07:25:42 +02:00
Update run command in Dockerfile (#11)
This commit is contained in:
parent
ff894f49fc
commit
e2e16c9439
@ -4,7 +4,9 @@ FROM base AS builder
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y chromium traceroute && \
|
apt-get install -y chromium traceroute && \
|
||||||
|
chmod 755 /usr/bin/chromium && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
RUN npm install --force
|
RUN npm install --force
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
CMD ["npm", "start"]
|
ENV CHROME_PATH='/usr/bin/chromium'
|
||||||
|
CMD ["npm", "run", "serve"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user