remove build platform target

This commit is contained in:
Alex Holliday
2025-05-14 12:16:09 -07:00
parent 8a0725276b
commit 8585500e7c
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:20-alpine AS build
FROM node:20-alpine AS build
ENV NODE_OPTIONS="--max-old-space-size=4096"
@@ -21,7 +21,7 @@ COPY ./client .
RUN npm run build
FROM --platform=$BUILDPLATFORM nginx:1.27.1-alpine
FROM nginx:1.27.1-alpine
COPY ./docker/dist/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
+1 -1
View File
@@ -1,3 +1,3 @@
FROM --platform=$BUILDPLATFORM mongo
FROM mongo
EXPOSE 27017
CMD ["mongod"]
+1 -1
View File
@@ -1,2 +1,2 @@
FROM --platform=$BUILDPLATFORM redis
FROM redis
EXPOSE 6379
+1 -1
View File
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:20-alpine
FROM node:20-alpine
WORKDIR /app