diff --git a/Dockerfile b/Dockerfile index 6f1168f..b013458 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine AS build +FROM node:19-alpine AS build RUN addgroup -S app && adduser -S app -G app RUN mkdir /app && chown app:app /app @@ -21,7 +21,7 @@ ENV REACT_APP_AUTH_PROVIDER=local RUN npm run build -FROM node:16-alpine AS server +FROM node:19-alpine AS server RUN addgroup -S app && adduser -S app -G app @@ -42,4 +42,4 @@ COPY --from=build /app/build /app/public LABEL org.opencontainers.image.source="https://github.com/cogentapps/chat-with-gpt" ENV PORT 3000 -CMD ["npm", "run", "start"] \ No newline at end of file +CMD ["npm", "run", "start"]