mushcatshiro hace 2 años
committed by GitHub
padre
commit
59aeb10b64
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. +14
    -0
      Dockerfile

+ 14
- 0
Dockerfile Ver fichero

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

Cargando…
Cancelar
Guardar