Sfoglia il codice sorgente

adding docker support

pull/3/head
shiro 2 anni fa
parent
commit
e433b82ac3
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. +14
    -0
      Dockerfile

+ 14
- 0
Dockerfile Vedi File

@@ -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" ]

Caricamento…
Annulla
Salva