stacker.news/worker/Dockerfile

13 lines
208 B
Docker
Raw Normal View History

# syntax=docker/dockerfile:1
2024-10-08 20:21:11 +00:00
FROM node:18.20.4-bullseye
ENV NODE_ENV=development
ARG UID
ARG GID
RUN groupadd -fg "$GID" apprunner
RUN useradd -om -u "$UID" -g "$GID" apprunner
USER apprunner
WORKDIR /app