Update Dockerfile

This commit is contained in:
Yonas Tewabe
2026-06-12 13:56:36 +03:00
committed by GitHub
parent 88197d19f3
commit 3e4ea65184

View File

@@ -32,6 +32,9 @@ WORKDIR /app
RUN addgroup --system --gid 1001 nodejs \
&& adduser --system --uid 1001 --ingroup nodejs nestjs
COPY --from=deployer --chown=nestjs:nodejs /deploy .
COPY apps/edr-passenger-api/docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh \
&& chown -R nestjs:nodejs /app
USER nestjs
EXPOSE 3008
ENTRYPOINT ["/docker-entrypoint.sh"]