commit
cd1c1fb8cb
@ -0,0 +1,14 @@
|
||||
FROM node:18-buster-slim
|
||||
|
||||
RUN npm install -g http-server
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 8080
|
||||
CMD [ "http-server", "dist" ]
|
Loading…
Reference in new issue