have alpine more closely match deb dockerfile

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

View File

@ -22,14 +22,11 @@ COPY . .
COPY server-package.json package.json
# Copy TypeScript build artifacts into the original directory structure.
RUN ls && \
cp -R build/src/* src/.
# Copy the healthcheck
RUN cp build/docker_healthcheck.js .
RUN rm docker_healthcheck.ts
RUN rm -r build
RUN cp -R build/src/* src/. && \
cp build/docker_healthcheck.js . && \
rm -r build && \
rm docker_healthcheck.ts
# Install app dependencies
RUN set -x && \