ihm_client/Dockerfile
4NK CI Bot e41d17f7f4
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 55s
ci: docker_tag=ext - Fix TypeScript imports and add curl to Dockerfile
2025-09-21 08:21:32 +00:00

30 lines
657 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 curl
# Copy project files
COPY . .
# Copy the provided prebuilt WASM package (ESM)
# The directory pkg is provided in the build context
# and already contains sdk_client.js (ES module) and wasm
# so no compilation is required here.
# 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"]