mirror of
https://github.com/Lissy93/web-check.git
synced 2025-08-18 08:29:52 +02:00
Update run command in Dockerfile (#11)
This commit is contained in:
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user