-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #66 - moving dockerfile in bin
- Loading branch information
1 parent
8607c58
commit 98b7730
Showing
2 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |