FROM node:18
ARG UID=911
ARG GID=911
WORKDIR /usr/share/dach
COPY package*.json ./
COPY . .
RUN npm install
USER dach
EXPOSE 1337
ENTRYPOINT ["docker-entrypoint.sh"]