Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e56b35306 | |||
| 37b680c6f5 | |||
| ed01b58d2e |
+5
-1
@@ -10,7 +10,7 @@ COPY ./src/package.json ./
|
||||
RUN npm install
|
||||
|
||||
# Copy source
|
||||
COPY ./src ./src
|
||||
COPY ./src ./
|
||||
|
||||
# Create replied_ids.json
|
||||
RUN touch replied_ids.json
|
||||
@@ -19,5 +19,9 @@ RUN touch replied_ids.json
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
# Change line break
|
||||
RUN sed -i 's/\r$//' /entrypoint.sh \
|
||||
&& find /app -type f -exec sed -i 's/\r$//' {} \;
|
||||
|
||||
# Run entrypoint
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user