alexn707
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
4 deletions
-
Dockerfile
|
@ -15,9 +15,9 @@ HEALTHCHECK CMD /usr/bin/timeout 5s /bin/sh -c "/usr/bin/wg show | /bin/grep -q |
|
|
COPY --from=build_node_modules /app /app |
|
|
COPY --from=build_node_modules /app /app |
|
|
|
|
|
|
|
|
# Install Node.js |
|
|
# Install Node.js |
|
|
RUN apk add --no-cache \ |
|
|
#RUN apk add --no-cache \ |
|
|
nodejs \ |
|
|
# nodejs \ |
|
|
npm |
|
|
# npm |
|
|
|
|
|
|
|
|
# Move node_modules one directory up, so during development |
|
|
# Move node_modules one directory up, so during development |
|
|
# we don't have to mount it in a volume. |
|
|
# we don't have to mount it in a volume. |
|
@ -36,7 +36,8 @@ RUN chmod +x /bin/wgpw |
|
|
RUN apk add --no-cache \ |
|
|
RUN apk add --no-cache \ |
|
|
dpkg \ |
|
|
dpkg \ |
|
|
dumb-init \ |
|
|
dumb-init \ |
|
|
iptables |
|
|
iptables \ |
|
|
|
|
|
nodejs |
|
|
|
|
|
|
|
|
# Use iptables-legacy |
|
|
# Use iptables-legacy |
|
|
RUN update-alternatives --install /sbin/iptables iptables /sbin/iptables-legacy 10 --slave /sbin/iptables-restore iptables-restore /sbin/iptables-legacy-restore --slave /sbin/iptables-save iptables-save /sbin/iptables-legacy-save |
|
|
RUN update-alternatives --install /sbin/iptables iptables /sbin/iptables-legacy 10 --slave /sbin/iptables-restore iptables-restore /sbin/iptables-legacy-restore --slave /sbin/iptables-save iptables-save /sbin/iptables-legacy-save |
|
|