Skip to content

Commit

Permalink
issue #66 - moving dockerfile in bin
Browse files Browse the repository at this point in the history
  • Loading branch information
melanie-fressard authored Dec 6, 2023
1 parent 8607c58 commit 98b7730
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Dockerfile

This file was deleted.

25 changes: 25 additions & 0 deletions bin/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# syntax=docker/dockerfile:1
# Built by script called build-dataloader.sh
# Run with the help of scripts in bin/ such as load-data-container.sh

# Dase image for the Docker image
FROM alpine

# Install the PostgreSQL client
RUN apk add && apk add postgresql-client

# Copy the entry point script to the root directory
COPY bin/docker-entrypoint.sh /entrypoint.sh

# Set environment variables
ENV LOUIS_DSN=
ENV LOUIS_SCHEMA=
ENV LOAD_DATA_ONLY=
ENV DISABLE_TRIGGER_ALL=
ENV DROP_SCHEMA=

# Create a volume for data storage
VOLUME /data

# Set the entry point for the container
ENTRYPOINT ["sh", "-c", "/entrypoint.sh"]

0 comments on commit 98b7730

Please sign in to comment.