diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..652f0f6 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +.forgejo +.run +_doc +bin +server/web/node_modules +server/web/build +server/web/ci/* +server/web/coverage \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b6eeac6..c3ac845 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,7 @@ RUN apk --update upgrade && \ WORKDIR /app COPY . . -RUN rm -rf bin/ && \ - npm install --global pnpm@^9 && \ +RUN npm install --global pnpm@^9 && \ CC=gcc make ci # @@ -29,10 +28,10 @@ LABEL maintainer="Varakh " \ org.opencontainers.image.description="upda" \ org.opencontainers.image.base.name="alpine:3.20" -ENV USER=appuser \ - GROUP=appuser \ - UID=2033 \ - GID=2033 +ENV USER appuser +ENV GROUP appuser +ENV UID 2033 +ENV GID 2033 RUN apk --update upgrade && \ apk add sqlite tzdata && \