From f39cd325b7046fdc0ec11040bf8f91f16222afef Mon Sep 17 00:00:00 2001 From: Roger Sacchelli Date: Tue, 16 Apr 2024 23:06:08 -0300 Subject: [PATCH] minor changes on Dockerfiles frontend --- backend/services/mtp/mqtt/build/Dockerfile | 2 +- frontend/build/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/mtp/mqtt/build/Dockerfile b/backend/services/mtp/mqtt/build/Dockerfile index 5ea1214..6a912db 100644 --- a/backend/services/mtp/mqtt/build/Dockerfile +++ b/backend/services/mtp/mqtt/build/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.22@sha256:82e07063a1ac3ee59e6f38b1222e32ce88469e4431ff6496cc40fb9a0fc18229 as builder WORKDIR /app -COPY ../ ./ +COPY ../ . RUN CGO_ENABLED=0 GOOS=linux go build -o mqtt cmd/mqtt/main.go FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed diff --git a/frontend/build/Dockerfile b/frontend/build/Dockerfile index f7512cb..a5d60f8 100644 --- a/frontend/build/Dockerfile +++ b/frontend/build/Dockerfile @@ -2,7 +2,7 @@ FROM node:16.20.2-alpine as builder WORKDIR /app -COPY ./ ./ +COPY ../ ./ RUN npm install