minor changes on Dockerfiles frontend

This commit is contained in:
Roger Sacchelli 2024-04-16 23:06:08 -03:00
parent 61f93f49e5
commit f39cd325b7
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM golang:1.22@sha256:82e07063a1ac3ee59e6f38b1222e32ce88469e4431ff6496cc40fb9a0fc18229 as builder FROM golang:1.22@sha256:82e07063a1ac3ee59e6f38b1222e32ce88469e4431ff6496cc40fb9a0fc18229 as builder
WORKDIR /app WORKDIR /app
COPY ../ ./ COPY ../ .
RUN CGO_ENABLED=0 GOOS=linux go build -o mqtt cmd/mqtt/main.go RUN CGO_ENABLED=0 GOOS=linux go build -o mqtt cmd/mqtt/main.go
FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed

View File

@ -2,7 +2,7 @@ FROM node:16.20.2-alpine as builder
WORKDIR /app WORKDIR /app
COPY ./ ./ COPY ../ ./
RUN npm install RUN npm install