ihm_client/Dockerfile
4NK CI Bot a4dd8c57f2
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 52s
ci: docker_tag=ext | use prebuilt wasm pkg (no wasm build in CI)
2025-09-18 12:05:43 +00:00

24 lines
479 B
Docker
Executable File

# syntax=docker/dockerfile:1.4
FROM node:20-alpine
WORKDIR /app
# Installation des dépendances nécessaires
RUN apk update && apk add --no-cache git nginx
# Copie du projet (incluant pkg pré-compilé)
COPY . .
# Installation des dépendances Node.js
RUN npm install
# Copie de la configuration nginx
COPY nginx.dev.conf /etc/nginx/http.d/default.conf
# Script de démarrage
COPY start-dev.sh /start-dev.sh
RUN chmod +x /start-dev.sh
EXPOSE 3003 80
CMD ["/start-dev.sh"]