Update Dockerfile

This commit is contained in:
Domingo Dirutigliano 2023-11-25 00:28:48 +01:00 committed by GitHub
parent 61a5bafa45
commit c5969cb168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
FROM node:18 AS frontend
FROM --platform=$BUILDPLATFORM node:18 AS frontend
RUN mkdir /app
WORKDIR /app
ADD ./frontend/package.json .
@ -9,7 +9,7 @@ RUN npm run build
#Building main conteiner
FROM debian:stable-slim as base
FROM --platform=$TARGETARCH debian:stable-slim as base
RUN apt-get update -qq && apt-get upgrade -qq
RUN apt-get install -qq python3-pip build-essential
RUN apt-get install -qq git libpcre2-dev libnetfilter-queue-dev