diff --git a/Dockerfile b/Dockerfile index ab6f232..54792d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,17 @@ FROM node:18-alpine WORKDIR /app +RUN npm install -g ts-node + COPY package*.json ./ -RUN npm install +RUN adduser -D polymer +RUN chown -R polymer:polymer /app +USER polymer -COPY src src +RUN npm install -RUN npm install -g ts-node +COPY src src EXPOSE 8000