mushcatshiro
hace 2 años
committed by
GitHub
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
-
Dockerfile
|
|
@@ -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" ] |