mirror of
https://github.com/Lissy93/web-check.git
synced 2025-01-10 00:08:32 +01:00
Wrote a rudamentry Dockerfile
This commit is contained in:
parent
47db364ec4
commit
9f04d06ec9
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM node:16-buster-slim AS base
|
||||
WORKDIR /app
|
||||
FROM base AS builder
|
||||
COPY . .
|
||||
RUN apt-get update && \
|
||||
apt-get install -y chromium traceroute && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN npm install --force
|
||||
EXPOSE 8888
|
||||
CMD ["npm", "start"]
|
@ -16,7 +16,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "netlify dev",
|
||||
"start": "react-scripts start",
|
||||
"start": "netlify serve --offline",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
|
Loading…
Reference in New Issue
Block a user