diff --git a/backend/Dockerfile b/backend/Dockerfile index 57a2df3..734556c 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,11 +1,11 @@ -FROM maven:3.8.3-openjdk-17 AS backend +FROM docker.io/library/maven:3.8.3-openjdk-17 AS backend WORKDIR /app/backend COPY ./pom.xml ./ COPY ./src ./src/ RUN mvn package -DskipTests # Run -FROM openjdk:17-slim +FROM docker.io/library/openjdk:17-slim WORKDIR /app COPY --from=backend /app/backend/target/*.jar ./backend.jar EXPOSE 8081 diff --git a/frontend/Dockerfile b/frontend/Dockerfile index bf5d3ad..88edadd 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 AS frontend +FROM docker.io/library/node:16 AS frontend ARG VITE_API_URL ENV VITE_API_URL $VITE_API_URL WORKDIR /app/frontend