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