From 7f4a2a26be34ebc721c4e80f9a3d6de3d6a7f3da Mon Sep 17 00:00:00 2001 From: havok2063 Date: Wed, 8 May 2024 14:11:23 -0400 Subject: [PATCH] updating dockerfiles --- Dockerfile | 4 ++-- Dockerfile.dev | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 13090af..a33762c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,13 +5,13 @@ FROM node:18-slim as build-stage WORKDIR /app # Copy package.json and package-lock.json to the container -COPY zora/package*.json ./ +COPY package*.json ./ # Install app dependencies RUN npm install # Copy the rest of the application code to the container -COPY ./zora . +COPY ./ . # Copy the custom .env.docker file COPY .env.docker .env.production diff --git a/Dockerfile.dev b/Dockerfile.dev index e784892..39ebae2 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,20 +1,17 @@ # Use an official Node.js runtime as the base image FROM node:18-slim as dev-stage -# Set a label -LABEL org.opencontainers.image.source https://github.com/sdss/zora_valis_dockers - # Set the working directory in the container WORKDIR /app # Copy package.json and package-lock.json to the container -COPY ./zora/package*.json ./ +COPY ./package*.json ./ # Install app dependencies RUN npm install # Copy the rest of the application code to the container -COPY ./zora . +COPY ./ . # Development environment FROM dev-stage as build-stage