stacker.news/worker/Dockerfile

13 lines
208 B
Docker
Raw Normal View History

# syntax=docker/dockerfile:1
2023-08-07 18:19:11 +00:00
FROM node:18.17.0-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