change Dockerfile.alpine name

This commit is contained in:
perf3ct 2024-08-28 17:07:25 +00:00
parent a769aef059
commit fcbb178096
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -22,8 +22,8 @@ COPY . .
COPY server-package.json package.json
# Copy TypeScript build artifacts into the original directory structure.
RUN ls
RUN cp -R build/src/* src/.
RUN ls && \
cp -R build/src/* src/.
# Copy the healthcheck
RUN cp build/docker_healthcheck.js .
@ -32,15 +32,15 @@ RUN rm docker_healthcheck.ts
RUN rm -r build
# Install app dependencies
RUN set -x
RUN npm install
RUN apk del .build-dependencies
RUN npm run webpack
RUN npm prune --omit=dev
RUN cp src/public/app/share.js src/public/app-dist/.
RUN cp -r src/public/app/doc_notes src/public/app-dist/.
RUN rm -rf src/public/app
RUN rm src/services/asset_path.ts
RUN set -x && \
npm install && \
apk del .build-dependencies && \
npm run webpack && \
npm prune --omit=dev && \
cp src/public/app/share.js src/public/app-dist/. && \
cp -r src/public/app/doc_notes src/public/app-dist/. && \
rm -rf src/public/app && \
rm src/services/asset_path.ts
# Some setup tools need to be kept