Browse Source

Update Dockerfile

pull/1690/head
alexn707 5 months ago
committed by GitHub
parent
commit
77e3109cf0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      Dockerfile

7
Dockerfile

@ -12,13 +12,8 @@ RUN npm ci --omit=dev &&\
# This saves a lot of disk space.
FROM amneziavpn/amnezia-wg:latest
HEALTHCHECK CMD /usr/bin/timeout 5s /bin/sh -c "/usr/bin/wg show | /bin/grep -q interface || exit 1" --interval=1m --timeout=5s --retries=3
COPY --from=build_node_modules /app /app
#COPY --from=build_node_modules /app /app
# Install Node.js
#RUN apk add --no-cache \
# nodejs \
# npm
# Move node_modules one directory up, so during development
# we don't have to mount it in a volume.
# This results in much faster reloading!

Loading…
Cancel
Save